vulnerability
Ubuntu: (Multiple Advisories) (CVE-2025-27221): Ruby vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 2 | (AV:L/AC:M/Au:N/C:P/I:N/A:N) | Mar 4, 2025 | Apr 8, 2025 | Aug 18, 2025 |
Severity
2
CVSS
(AV:L/AC:M/Au:N/C:P/I:N/A:N)
Published
Mar 4, 2025
Added
Apr 8, 2025
Modified
Aug 18, 2025
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.
Solutions
ubuntu-pro-upgrade-libruby2-3ubuntu-pro-upgrade-libruby2-5ubuntu-pro-upgrade-libruby2-7ubuntu-pro-upgrade-libruby3-0ubuntu-pro-upgrade-libruby3-2ubuntu-pro-upgrade-libruby3-3ubuntu-pro-upgrade-ruby2-3ubuntu-pro-upgrade-ruby2-5ubuntu-pro-upgrade-ruby2-7ubuntu-pro-upgrade-ruby3-0ubuntu-pro-upgrade-ruby3-2ubuntu-pro-upgrade-ruby3-3
References
- CVE-2025-27221
- https://attackerkb.com/topics/CVE-2025-27221
- CWE-212
- UBUNTU-USN-7418-1
- UBUNTU-USN-7442-1
- URL-https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml
- URL-https://hackerone.com/reports/2957667
- URL-https://ubuntu.com/security/notices/USN-7418-1
- URL-https://www.cve.org/CVERecord?id=CVE-2025-27221
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.