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.

Update within 0.12:bundle update --conservative uri # Gemfile: '>= 0.12.5'

Is your project on an affected uri?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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

  • LowCVE-2025-61594GHSA-j4pr-3wm6-xx2r30 Dec 2025

    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
  • LowCVE-2025-27221GHSA-22h5-pq3x-2gf23 Mar 2025

    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
  • MediumCVE-2023-36617GHSA-hww2-5g85-429m29 Jun 2023

    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
  • HighCVE-2023-28755GHSA-hv5j-3h9f-99c231 Mar 2023

    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.

VersionKnown advisories
uri 0.12.5None
uri 0.12.4CVE-2025-61594
uri 0.12.3CVE-2025-61594, CVE-2025-27221
uri 0.12.2CVE-2025-61594, CVE-2025-27221
uri 0.12.1CVE-2025-61594, CVE-2025-27221, CVE-2023-36617
uri 0.12.0CVE-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.