CVE-2025-27221GHSA-22H5-PQ3X-2GF2
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 cr
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.11.3, 0.12.4, 0.13.2, 1.0.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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 changing the host.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- ruby-lang URI
fixed in 0.11.3; From 0.12.0 · fixed in 0.12.4; From 0.13.0 · fixed in 0.13.2; From 1.0.0 · fixed in 1.0.3
- uriRubyGems
fixed in 0.11.3
- uriRubyGems
From 0.12.0 · fixed in 0.12.4
- uriRubyGems
From 0.13.0 · fixed in 0.13.2
- uriRubyGems
From 1.0.0 · fixed in 1.0.3