Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2025-27221

18
FAUCET Score

CVE-2025-27221 is a medium-severity vulnerability affecting the URI gem in Ruby versions prior to 1.0.3. It involves an inadvertent leakage of authentication credentials (userinfo) when URI handling methods like URI.join, URI#merge, or URI#+ are used, as the userinfo is retained even after the host is changed. The vulnerability has a CVSS score of 5.3, indicating a network-based attack with low complexity and a potential impact of credential disclosure (C:L). There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 0.11.3CPE matchmatch criteria
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
>= 0.12.0, < 0.12.4CPE matchmatch criteria
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
>= 0.13.0, < 0.13.2CPE matchmatch criteria
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
>= 1.0.0, < 1.0.3CPE matchmatch criteria
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
>= 0, < 0.11.3CPE match
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*

CVSS Data

CVSS version used by this source: 3.1

3.2LOW

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
1.4
Impact Score
1.4
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.47%
Probability of exploitation in next 30 days
EPSS Percentile
38.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0047 is in the 24th percentile among its peer group of 23,705 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (16)

microsoftpatch availablevia msrc
Product: azl3 ruby 3.3.5-3 on Azure Linux 3.0Fixed in: 3.3.5-3
microsoftpatch availablevia msrc
Product: 19723-17086Fixed in: 3.1.4-9
microsoftpatch availablevia msrc
Product: cbl2 ruby 3.1.4-9 on CBL Mariner 2.0Fixed in: 3.1.4-9
microsoftpatch availablevia msrc
Product: 19393-17084Fixed in: 3.3.5-3
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: ruby:3.1-9050020250404144903.9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: ruby:3.3-9050020250415095239.9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 10Fixed in: ruby-0:3.3.8-10.el10_0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:3.3-8100020250414172630.489197e6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:3.1-8100020250407112943.489197e6
View patch
rubygemspatch availablevia ghsa
Product: uriFixed in: 0.11.3
rubygemspatch availablevia ghsa
Product: uriFixed in: 1.0.3
rubygemspatch availablevia ghsa
Product: uriFixed in: 0.13.2
rubygemspatch availablevia ghsa
Product: uriFixed in: 0.12.4
redhatvendor investigatingvia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: ruby-31
redhatvendor investigatingvia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: ruby-33
redhatvendor investigatingvia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: ruby-30

Vendor Advisories (3)

microsoft2025-Mar/CVE-2025-27221Low

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.

Mar 11, 2025
rubygemsGHSA-22h5-pq3x-2gf2low

URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+

Mar 3, 2025
redhatCVE-2025-27221Low

uri: userinfo leakage in URI#join, URI#merge and URI#+

Mar 3, 2025

References

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