RubyGems (Ruby)Worst: High4 advisories

uri: known vulnerabilities

uri has 4 reviewed security advisories in the GitHub Advisory Database — 1 high, 1 moderate, 2 low. The most recent was published 2025-12-30. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the uri versions running across your servers, containers and images, and ranks what to patch first.

How to fix uri

Upgrade uri to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update uri to 1.0.4 (or gem install uri -v 1.0.4)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

URI Credential Leakage Bypass over CVE-2025-27221 Low 7.5 CWE-200 CWE-212 — Affected: from 1.0.0 up to 1.0.4. Fixed in 1.0.4. Published 2025-12-30. GHSA-j4pr-3wm6-xx2r · CVE-2025-61594
URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+ Low 3.2 CWE-200 CWE-212 — Affected: from 1.0.0 up to 1.0.3. Fixed in 1.0.3. Published 2025-03-04. GHSA-22h5-pq3x-2gf2 · CVE-2025-27221
URI gem has ReDoS vulnerability Moderate 5.3 CWE-1333 — Affected: before 0.10.0.3. Fixed in 0.10.0.3. Published 2023-06-29. GHSA-hww2-5g85-429m · CVE-2023-36617

Find uri across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.