vulnerability

Ubuntu: (Multiple Advisories) (CVE-2025-27221): Ruby vulnerabilities

Severity
2
CVSS
(AV:L/AC:M/Au:N/C:P/I:N/A:N)
Published
Mar 4, 2025
Added
Apr 8, 2025
Modified
Apr 16, 2026

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-ruby2-3ubuntu-pro-upgrade-ruby2-5ubuntu-upgrade-libruby2-7ubuntu-upgrade-libruby3-0ubuntu-upgrade-libruby3-2ubuntu-upgrade-libruby3-3ubuntu-upgrade-ruby2-7ubuntu-upgrade-ruby3-0ubuntu-upgrade-ruby3-2ubuntu-upgrade-ruby3-3
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.