uri vulnerabilities

URI is a module providing classes to handle Uniform Resource Identifiers

Registry
RubyGems
Latest
1.1.2
License
Ruby, BSD-2-Clause

4 known advisories

The latest version, 1.1.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative uri # Gemfile: '>= 1.1.2'

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

Security advisories for uri

  • 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

Is your uri version vulnerable?

Which of your client projects still run an old uri?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.