#VU105105 Information disclosure in URI - CVE-2025-27221


Vulnerability identifier: #VU105105

Vulnerability risk: Medium

CVSSv4.0: 2.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-27221

CWE-ID: CWE-200

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
URI
Universal components / Libraries / Programming Languages & Components

Vendor: rubygems.org

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to URI#join, URI#merge, and URI#+ methods retain sensitive information, such as user:password, even after the host is replaced. A remote attacker can gain access to sensitive information.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

URI: 0.10.0 - 0.10.3, 0.11.0 - 0.11.2, 0.12.0 - 0.12.3, 0.13.0 - 0.13.1, 1.0.0 - 1.0.2


External links
https://www.ruby-lang.org/en/news/2025/02/26/security-advisories/


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability