CVE catalog

CVE-2017-0903

rubygems: CVE-2017-0903

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
15.85% · Oct 25, 2026

RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to a possible remote code execution vulnerability. YAML deserialization of gem specifications can bypass class white lists. Specially crafted serialized objects can possibly be used to escalate to remote code execution.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianrubygemssid4.0.22-1fixed
Debianrubygemsforky4.0.22-1fixed
Debianrubygemstrixie3.6.7-2fixed
Debianrubygemsbookworm3.3.15-2+deb12u1fixed
Ubunturuby2.0pro2.0.0.299-2vulnerable
Ubunturuby2.0pro2.0.0.343-1vulnerable
Ubunturuby2.0pro2.0.0.343-1ubuntu1vulnerable
Ubunturuby2.0pro2.0.0.353-1vulnerable
Ubunturuby2.0pro2.0.0.353-1ubuntu1vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu1vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.1vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.2vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.4vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.5vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.6vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.8vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.9vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.10vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.11vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.13vulnerable
Ubunturuby2.0pro2.0.0.484-1ubuntu2.13+esm1fixed
Ubunturuby2.014.042.0.0.299-2vulnerable
Ubunturuby2.014.042.0.0.343-1vulnerable
Ubunturuby2.014.042.0.0.343-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.353-1vulnerable
Ubunturuby2.014.042.0.0.353-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.4vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.5vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.6vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.8vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.9vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.10fixed
Ubuntujrubypro1.5.6-5ubuntu1vulnerable
Ubuntujrubypro1.5.6-6vulnerable
Ubuntujrubypro1.5.6-7vulnerable
Ubuntujrubypro1.5.6-9+deb8u2build0.14.04.1~esm2vulnerable
Ubunturuby2.316.042.3.0-1vulnerable
Ubunturuby2.316.042.3.0-2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu3vulnerable
Ubunturuby2.316.042.3.0-5ubuntu1vulnerable
Ubunturuby2.316.042.3.1-2~16.04vulnerable
Ubunturuby2.316.042.3.1-2~16.04.2vulnerable
Ubunturuby2.316.042.3.1-2~16.04.4vulnerable
Ubunturuby2.316.042.3.1-2~16.04.5vulnerable
Ubunturuby2.316.042.3.1-2~16.04.6fixed
Ubuntujruby16.041.7.21-2ubuntu4vulnerable
Ubuntujruby16.041.7.22-1ubuntu1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrubygemssourcesid3.2.0~rc.1-1not yet assignedNot reportedNot reported
Debianrubygemssourceforky3.2.0~rc.1-1not yet assignedNot reportedNot reported
Debianrubygemssourcetrixie3.2.0~rc.1-1not yet assignedNot reportedNot reported
Debianrubygemssourcebookworm3.2.0~rc.1-1not yet assignedNot reportedNot reported
Ubunturuby2.0debpro2.0.0.484-1ubuntu2.13+esm1Not reportedUSN-3685-2Not reported
Ubunturuby2.0deb14.042.0.0.484-1ubuntu2.10Not reportedUBUNTU-CVE-2017-0903Not reported
Ubunturuby2.3deb16.042.3.1-2~16.04.6Not reportedUBUNTU-CVE-2017-0903Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bundler]Fixed

    Source package: [rubygems]

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

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

  • Source package: [rubygems]

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

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

  • Source package: [rubygems]

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

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

    • 3.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

[Debian 13 (Trixie)]

  • [bundler]Fixed

    Source package: [rubygems]

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

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

  • Source package: [rubygems]

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

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

  • Source package: [rubygems]

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

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

    • 3.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

Observed:

References