CVE-2025-27221
"URI Gem Authentication Credential Leakage Vulnerability"
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.
INFO
Published Date :
March 4, 2025, 12:15 a.m.
Last Modified :
March 4, 2025, 12:15 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
1.4
Exploitability Score :
1.4
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-27221
.
URL | Resource |
---|---|
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml | |
https://hackerone.com/reports/2957667 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-27221
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-27221
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 05, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-212 Added CPE Configuration OR *cpe:2.3:a:tal:url:*:*:*:*:*:ruby:*:* versions from (excluding) 0.11.3 *cpe:2.3:a:tal:url:*:*:*:*:*:ruby:*:* versions from (including) 0.12.0 from (excluding) 0.12.4 *cpe:2.3:a:tal:url:*:*:*:*:*:ruby:*:* versions from (including) 0.13.0 from (excluding) 0.13.2 *cpe:2.3:a:tal:url:*:*:*:*:*:ruby:*:* versions from (including) 1.0.0 from (excluding) 1.0.3 Added Reference Type MITRE: https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml Types: Third Party Advisory Added Reference Type MITRE: https://hackerone.com/reports/2957667 Types: Permissions Required -
New CVE Received by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N Added CWE CWE-212 Added Reference https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml Added Reference https://hackerone.com/reports/2957667
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-27221
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-27221
weaknesses.