CVE-2025-27221

MEDIUM EPSS 37.3%
Published Mar 4, 20251y ago · Modified Jun 17, 20262w ago
5.3 CVSS 3.1
Medium
Find Similar
Published Mar 4, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.3
Exploitability
3.9
Impact
1.4
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
37.3% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-212

Affected Products 4

VendorProductVersionRange
ruby-languri* <0.11.3
ruby-languri*≥0.12.0  –  <0.12.4
ruby-languri*≥0.13.0  –  <0.13.2
ruby-languri*≥1.0.0  –  <1.0.3

References 4

  • github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml
    Third Party Advisory
  • hackerone.com https://hackerone.com/reports/2957667
    Permissions Required
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.