CVE-2025-27221

State
Published
Severity
3.2 Low
Published
Mar 3, 2025
Updated
Nov 3, 2025
Reserved
Feb 20, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.13.2 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:Nmitre

Weaknesses

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer

Affected Products

ProductVersions
URIruby-lang
  • before 0.11.3Affected
  • 0.12.0 to before 0.12.4Affected
  • 0.13.0 to before 0.13.2Affected
  • 1.0.0 to before 1.0.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.