Is uri 0.12 vulnerable?
RubyGems · 6 releases from 0.12.0 to 0.12.5 · latest uri is 1.1.2 · checked 18 Nov 2026
No known advisories in the last release
uri 0.12.5, the last 0.12 release, has no known advisories. 4 advisories affect earlier 0.12.x releases, so update to 0.12.5.
bundle update --conservative uri # Gemfile: '>= 0.12.5'Is your project on an affected uri?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Fixed within 0.12.x, affecting earlier releases
URI Credential Leakage Bypass over CVE-2025-27221
- Affected
- <0.12.5 · >=0.13.0 <0.13.3 · >=1.0.0 <1.0.4
- Fixed in
- 0.12.5, 0.13.3, 1.0.4
URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+
- Affected
- <0.11.3 · >=0.12.0 <0.12.4 · >=0.13.0 <0.13.2 · >=1.0.0 <1.0.3
- Fixed in
- 0.11.3, 0.12.4, 0.13.2, 1.0.3
URI gem has ReDoS vulnerability
- Affected
- >=0.10.1 <0.10.3 · >=0.12.0 <0.12.2 · >=0.11.0 <0.11.2 · <0.10.0.3
- Fixed in
- 0.10.0.3, 0.10.3, 0.11.2, 0.12.2
Ruby URI component ReDoS issue
- Affected
- >=0.12.0 <0.12.1 · >=0.11.0 <0.11.1 · >=0.10.1 <0.10.2 · <0.10.0.1
- Fixed in
- 0.10.0.1, 0.10.2, 0.11.1, 0.12.1
Every uri 0.12.x release
Affected: 0.12.0 to 0.12.4. 0.12.5 is not affected. Latest uri: 1.1.2.
| Version | Known advisories |
|---|---|
| uri 0.12.5 | None |
| uri 0.12.4 | CVE-2025-61594 |
| uri 0.12.3 | CVE-2025-61594, CVE-2025-27221 |
| uri 0.12.2 | CVE-2025-61594, CVE-2025-27221 |
| uri 0.12.1 | CVE-2025-61594, CVE-2025-27221, CVE-2023-36617 |
| uri 0.12.0 | CVE-2025-61594, CVE-2025-27221, CVE-2023-36617, CVE-2023-28755 |
Which of your client projects are still on uri 0.12?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact uri version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other uri versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.