CVE-2025-27221
In the URI gem before 1.0.3 for Ruby, the URI handling methods (URI.join, URI#merge, URI#+) have an inadvertent leakage of authentication credentials because userinfo is retained even after changin...
Description
URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:LAttack VectorLocal
AC:HAttack ComplexityHigh
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:CScopeChanged
Impact
C:LConfidentialityLow
I:NIntegrityNone
A:NAvailabilityNone
Weaknesses
Affected Products
RubyGems
package-ecosystem
ruby-lang
oss-projectaka rexml, ruby
Сообщество свободного программного обеспечения
oss-projectaka fsf
ООО «Ред Софт»
commercial·RUaka red soft
Red Hat Inc.
commercial·USaka red hat
Ruby Team
oss-projectaka ruby-lang
and 2 more affected products View all →
Exploitability
2 exploit sources identified
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit details Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Collection
References
https://nvd.nist.gov/vuln/detail/CVE-2025-27221
nvd.nist.gov
https://github.com/ruby/uri/pull/154
github.com
https://github.com/ruby/uri/pull/155
github.com
and 15 more references View all →
News mentions
Could not load news mentions.
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-27221 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
