{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-27221","published":"2025-03-04T00:15:31.847000Z","last_modified":"2026-06-17T09:03:14.380000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-212"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"uri","version_end_excluding":"0.11.3"},{"criteria":"cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"uri","version_start_including":"0.12.0","version_end_excluding":"0.12.4"},{"criteria":"cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"uri","version_start_including":"0.13.0","version_end_excluding":"0.13.2"},{"criteria":"cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"uri","version_start_including":"1.0.0","version_end_excluding":"1.0.3"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/uri"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-22h5-pq3x-2gf2","ecosystem":"RubyGems","name":"uri","purl":"pkg:gem/uri","ranges":[{"introduced":"0","fixed":"0.11.3"}],"versions":["0.10.0","0.10.0.1","0.10.0.2","0.10.0.3","0.10.1","0.10.2","0.10.3","0.11.0","0.11.1","0.11.2"],"versions_truncated":false},{"advisory":"GHSA-22h5-pq3x-2gf2","ecosystem":"RubyGems","name":"uri","purl":"pkg:gem/uri","ranges":[{"introduced":"0.12.0","fixed":"0.12.4"}],"versions":["0.12.0","0.12.1","0.12.2","0.12.3"],"versions_truncated":false},{"advisory":"GHSA-22h5-pq3x-2gf2","ecosystem":"RubyGems","name":"uri","purl":"pkg:gem/uri","ranges":[{"introduced":"0.13.0","fixed":"0.13.2"}],"versions":["0.13.0","0.13.1"],"versions_truncated":false},{"advisory":"GHSA-22h5-pq3x-2gf2","ecosystem":"RubyGems","name":"uri","purl":"pkg:gem/uri","ranges":[{"introduced":"1.0.0","fixed":"1.0.3"}],"versions":["1.0.0","1.0.1","1.0.2"],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-27221/","html_en":"/en/cve/CVE-2025-27221/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-27221","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-27221"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Uri","desc_en":"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":[{"untrusted_vendor":"ruby-lang","untrusted_product":"URI","versions":[]}],"references":[{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml","tags":["Third Party Advisory"]},{"url":"https://hackerone.com/reports/2957667","tags":["Permissions Required"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html","tags":[]}]}}