
CVE catalog
CVE-2017-0903
rubygems: CVE-2017-0903
- Severity
- Medium · CVSS 6.3
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rubygems | sid | 4.0.22-1 | fixed |
| Debian | rubygems | forky | 4.0.22-1 | fixed |
| Debian | rubygems | trixie | 3.6.7-2 | fixed |
| Debian | rubygems | bookworm | 3.3.15-2+deb12u1 | fixed |
| Ubuntu | ruby2.0 | pro | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.4 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.5 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.6 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.8 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.9 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.10 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.11 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.13 | vulnerable |
| Ubuntu | ruby2.0 | pro | 2.0.0.484-1ubuntu2.13+esm1 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.4 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.5 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.6 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.8 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.9 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.10 | fixed |
| Ubuntu | jruby | pro | 1.5.6-5ubuntu1 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-6 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-7 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-9+deb8u2build0.14.04.1~esm2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.4 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.5 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.6 | fixed |
| Ubuntu | jruby | 16.04 | 1.7.21-2ubuntu4 | vulnerable |
| Ubuntu | jruby | 16.04 | 1.7.22-1ubuntu1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rubygems | source | sid | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rubygems | source | forky | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rubygems | source | trixie | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rubygems | source | bookworm | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | ruby2.0 | deb | pro | 2.0.0.484-1ubuntu2.13+esm1 | Not reported | USN-3685-2 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.484-1ubuntu2.10 | Not reported | UBUNTU-CVE-2017-0903 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~16.04.6 | Not reported | UBUNTU-CVE-2017-0903 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bundler]Fixed
Source package: [rubygems]
Details (2)
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
- [ruby-bundler]Fixed
Source package: [rubygems]
Details (2)
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
- [ruby-rubygems]Fixed
Source package: [rubygems]
Details (2)
3.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
3.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
[Debian 13 (Trixie)]
- [bundler]Fixed
Source package: [rubygems]
Details (2)
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
- [ruby-bundler]Fixed
Source package: [rubygems]
Details (2)
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
- [ruby-rubygems]Fixed
Source package: [rubygems]
Details (2)
3.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
3.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2018_0378.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-0903]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-0903]
- [https://osv.dev/vulnerability/USN-3685-2]
- [https://security-tracker.debian.org/tracker/CVE-2017-0903]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-0903.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]