CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Ruby-lang

CVE-2025-27221
Ruby-lang Uri vulnerability

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.

Affected products

Uri. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Ruby-lang Uri runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Ruby-lang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.