ruby-lang URI
At a glance
- Source
- NVD
- EPSS
- EPSS 0.51 % · percentile 44 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-212 — Improper Removal of Sensitive Information Before Storage or Transfer
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N | mitre |
| CVSS 3.1 | LOW 3.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N | NVD · cve@mitre.org (Secondary) |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-22h5-pq3x-2gf2 — URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+
European references
- ENISA EUVD · EUVD-2025-5508
- GCVE · GCVE-0-2025-27221
CERT-FR advisories
- CERTFR-2026-AVI-0641 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0249 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1129 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0969 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0967 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0622 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*< 0.11.3cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*≥ 0.12.0 < 0.12.4cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*≥ 0.13.0 < 0.13.2cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*≥ 1.0.0 < 1.0.3
Affected products
| Product | Versions |
|---|---|
| ruby-lang · URI | affected 0 < 0.11.3 ; affected 0.12.0 < 0.12.4 ; affected 0.13.0 < 0.13.2 ; affected 1.0.0 < 1.0.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |