CVE catalog

CVE-2025-27221

Ruby vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.51% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1vulnerable
Debianruby3.1bookworm-security3.1.2-7+deb12u1vulnerable
Debianrubygemssid4.0.22-1fixed
Debianrubygemsforky4.0.22-1fixed
Debianrubygemstrixie3.6.7-2fixed
Debianrubygemsbookworm3.3.15-2+deb12u1fixed
Ubunturuby3.1nobleNot reportedvulnerable
Ubunturuby3.2noble3.2.3-1ubuntu0.24.04.5fixed
Ubuntulibruby3.2noble3.2.3-1ubuntu0.24.04.5fixed
Ubunturuby3.2-devnoble3.2.3-1ubuntu0.24.04.5fixed
Ubunturuby3.2-docnoble3.2.3-1ubuntu0.24.04.5fixed
Suseruby2.5linux enterprise high performance computing 15 sp3-ltss2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp4-espos2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp4-ltss2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp5-espos2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp5-ltss2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise server 15 sp3-ltss2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise server 15 sp4-ltss2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise server 15 sp5-ltss2.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise server for sap applications 15 sp32.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise server for sap applications 15 sp42.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise server for sap applications 15 sp52.5.9-150000.4.46.1fixed
Suseruby2.5manager proxy 4.32.5.9-150000.4.46.1fixed
Suseruby2.5manager server 4.32.5.9-150000.4.46.1fixed
Suseruby2.5enterprise storage 7.12.5.9-150000.4.46.1fixed
Suseruby2.5linux enterprise module for basesystem 15 sp62.5.9-150000.4.46.1fixed
Opensuseruby2.5leap 15.62.5.9-150000.4.46.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm(unfixed)not yet assignedNot reported[1103794]
Debianrubygemssourcesid3.6.6-1not yet assignedNot reportedNot reported
Debianrubygemssourceforky3.6.6-1not yet assignedNot reportedNot reported
Debianrubygemssourcetrixie3.6.6-1not yet assignedNot reportedNot reported
Debianrubygemssourcebookworm3.3.15-2+deb12u1not yet assignedNot reportedNot reported
Ubunturuby3.2debnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubuntulibruby3.2debnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubunturuby3.2-devdebnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubunturuby3.2-docdebnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp3-ltss2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp4-espos2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp4-ltss2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp5-espos2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp5-ltss2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise server 15 sp3-ltss2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise server 15 sp4-ltss2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise server 15 sp5-ltss2.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise server for sap applications 15 sp32.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise server for sap applications 15 sp42.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise server for sap applications 15 sp52.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmmanager proxy 4.32.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmmanager server 4.32.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmenterprise storage 7.12.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-2Not reported
Suseruby2.5rpmlinux enterprise module for basesystem 15 sp62.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-1Not reported
Opensuseruby2.5rpmleap 15.62.5.9-150000.4.46.1Not reportedSUSE-SU-2025:02739-1Not reported

[Debian bug #1103794]

Notes

[bookworm] ruby3.1: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libruby3.1]Affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

  • [ruby3.1]Affected
    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

  • [ruby3.1-dev]Affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

  • [ruby3.1-doc]Affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · all · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

  • [bundler]Fixed

    Source package: [rubygems]

    Details (2)
    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.15-2+deb12u1

      usn · rubygems · debian · bookworm; usn · rubygems · debian · 12

    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.15-2+deb12u1

      usn · rubygems · debian · bookworm; usn · rubygems · debian · 12

  • Source package: [rubygems]

    Details (2)
    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.15-2+deb12u1

      usn · rubygems · debian · bookworm; usn · rubygems · debian · 12

    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.15-2+deb12u1

      usn · rubygems · debian · bookworm; usn · rubygems · debian · 12

  • Source package: [rubygems]

    Details (2)
    • 3.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.15-2+deb12u1

      usn · rubygems · debian · bookworm; usn · rubygems · debian · 12

    • 3.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.15-2+deb12u1

      usn · rubygems · debian · bookworm; usn · rubygems · debian · 12

[Debian 13 (Trixie)]

  • [bundler]Fixed

    Source package: [rubygems]

    Details (2)
    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.6.6-1

      usn · rubygems · debian · 13

    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.6.6-1

      usn · rubygems · debian · 13

  • [libruby3.3]Fixed

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • [ruby3.3]Fixed
    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · all · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · all · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • Source package: [rubygems]

    Details (2)
    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.6.6-1

      usn · rubygems · debian · 13

    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.6.6-1

      usn · rubygems · debian · 13

  • Source package: [rubygems]

    Details (2)
    • 3.6.7-2 · all · trixie

      Fixed · Fixed: 3.6.6-1

      usn · rubygems · debian · 13

    • 3.6.7-2 · all · trixie

      Fixed · Fixed: 3.6.6-1

      usn · rubygems · debian · 13

Observed:

References