CVE-2018-1000074
publishedrubygems: Unsafe Object Deserialization Vulnerability in gem owner allowing arbitrary code execution on specially crafted YAML
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1276 | Fixed | Not stated | Amazon Linux assessment |
| Debian | jessie | jruby | Advisory build | 1.5.6-9+deb8u1 | DLA-1796-1 |
| Oracle Linux | 7 | rubyaarch64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubysrc | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Debian | jessie | ruby2.1 | Advisory build | 2.1.5-2+deb8u5 | DLA-1480-1 |
| Debian | stretch | jruby | Advisory build | 1.7.26-1+deb9u1 | DSA-4219-1 |
| Debian | stretch | ruby2.3 | Advisory build | 2.3.3-1+deb9u3 | DSA-4259-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | wheezy | jruby | Advisory build | 1.5.6-5+deb7u2 | DLA-1352-1 |
| Oracle Linux | 7 | rubyx86_64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-develaarch64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-develx86_64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-docaarch64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-docx86_64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-irbaarch64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-irbx86_64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-libsaarch64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-libsx86_64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-tcltkaarch64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | ruby-tcltkx86_64 | Advisory build | 0:2.0.0.648-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-bigdecimalaarch64 | Advisory build | 0:1.2.0-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-bigdecimalx86_64 | Advisory build | 0:1.2.0-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-io-consoleaarch64 | Advisory build | 0:0.4.2-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-io-consolex86_64 | Advisory build | 0:0.4.2-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-jsonaarch64 | Advisory build | 0:1.7.7-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-jsonx86_64 | Advisory build | 0:1.7.7-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-minitestaarch64 | Advisory build | 0:4.3.2-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-minitestx86_64 | Advisory build | 0:4.3.2-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-psychaarch64 | Advisory build | 0:2.0.0-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-psychx86_64 | Advisory build | 0:2.0.0-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-rakeaarch64 | Advisory build | 0:0.9.6-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-rakex86_64 | Advisory build | 0:0.9.6-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-rdocaarch64 | Advisory build | 0:4.0.0-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygem-rdocx86_64 | Advisory build | 0:4.0.0-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygemsaarch64 | Advisory build | 0:2.0.14.1-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygemsx86_64 | Advisory build | 0:2.0.14.1-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygems-develaarch64 | Advisory build | 0:2.0.14.1-36.el7 | ELSA-2019-2028 |
| Oracle Linux | 7 | rubygems-develx86_64 | Advisory build | 0:2.0.14.1-36.el7 | ELSA-2019-2028 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubyx86_64 | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-debuginfox86_64 | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-develx86_64 | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-docnoarch | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-irbnoarch | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-libsx86_64 | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-tcltkx86_64 | Advisory build | 2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-bigdecimalx86_64 | Advisory build | 1.2.8-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-did_you_meanx86_64 | Advisory build | 1.0.0-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-io-consolex86_64 | Advisory build | 0.4.5-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-jsonx86_64 | Advisory build | 1.8.3.1-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-minitestnoarch | Advisory build | 5.8.5-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-net-telnetx86_64 | Advisory build | 0.1.1-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-power_assertnoarch | Advisory build | 0.2.6-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-psychx86_64 | Advisory build | 2.1.0.1-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-rakenoarch | Advisory build | 10.4.2-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-rdocnoarch | Advisory build | 4.2.1-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-test-unitnoarch | Advisory build | 3.1.5-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygemsnoarch | Advisory build | 2.5.2.3-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygems-develnoarch | Advisory build | 2.5.2.3-69.el6 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubysrc | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubyx86_64 | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-ruby-debuginfox86_64 | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-ruby-develx86_64 | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-ruby-docnoarch | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-ruby-irbnoarch | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-ruby-libsx86_64 | Advisory build | 2.4.5-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-bigdecimalx86_64 | Advisory build | 1.3.2-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-did_you_meanx86_64 | Advisory build | 1.1.0-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-io-consolex86_64 | Advisory build | 0.4.6-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-jsonx86_64 | Advisory build | 2.0.4-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-minitestnoarch | Advisory build | 5.10.1-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-net-telnetx86_64 | Advisory build | 0.1.1-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-opensslx86_64 | Advisory build | 2.0.9-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-power_assertnoarch | Advisory build | 0.4.1-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-psychx86_64 | Advisory build | 2.2.2-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-rakenoarch | Advisory build | 12.0.0-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-rdocnoarch | Advisory build | 5.0.0-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-test-unitnoarch | Advisory build | 3.2.3-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygem-xmlrpcnoarch | Advisory build | 0.2.1-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygemsnoarch | Advisory build | 2.6.14.3-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubygems-develnoarch | Advisory build | 2.6.14.3-91.el6 | RHSA-2018:3730 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubysrc | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubyx86_64 | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-ruby-debuginfox86_64 | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-ruby-develx86_64 | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-ruby-docnoarch | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-ruby-irbnoarch | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-ruby-libsx86_64 | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-ruby-tcltkx86_64 | Advisory build | 2.3.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-bigdecimalx86_64 | Advisory build | 1.2.8-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-did_you_meanx86_64 | Advisory build | 1.0.0-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-io-consolex86_64 | Advisory build | 0.4.5-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-jsonx86_64 | Advisory build | 1.8.3.1-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-minitestnoarch | Advisory build | 5.8.5-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-net-telnetx86_64 | Advisory build | 0.1.1-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-power_assertnoarch | Advisory build | 0.2.6-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-psychx86_64 | Advisory build | 2.1.0.1-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-rakenoarch | Advisory build | 10.4.2-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-rdocnoarch | Advisory build | 4.2.1-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygem-test-unitnoarch | Advisory build | 3.1.5-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygemsnoarch | Advisory build | 2.5.2.3-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby23-rubygems-develnoarch | Advisory build | 2.5.2.3-69.el7 | RHSA-2018:3729 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby24-rubysrc | Advisory build | 2.4.5-91.el7 | RHSA-2018:3730 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Deserialization of Untrusted Data vulnerability in owner command that can result in code execution. This attack appear to be exploitable via victim must run the `gem owner` command on a gem with a specially crafted YAML file. This vulnerability appears to have been fixed in 2.7.6.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
18- http://blog.rubygems.org/2018/02/15/2.7.6-released.html
- openSUSE-SU-2019:1771 http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- RHSA-2018:3729 https://access.redhat.com/errata/RHSA-2018:3729
- RHSA-2018:3730 https://access.redhat.com/errata/RHSA-2018:3730
- RHSA-2018:3731 https://access.redhat.com/errata/RHSA-2018:3731
- RHSA-2019:2028 https://access.redhat.com/errata/RHSA-2019:2028
- RHSA-2020:0542 https://access.redhat.com/errata/RHSA-2020:0542
- RHSA-2020:0591 https://access.redhat.com/errata/RHSA-2020:0591
- RHSA-2020:0663 https://access.redhat.com/errata/RHSA-2020:0663
- https://github.com/rubygems/rubygems/commit/254e3d0ee873c008c0b74e8b8abcbdab4caa0a6d
- [debian-lts-announce] 20180417 [SECURITY] [DLA 1352-1] jruby security update https://lists.debian.org/debian-lts-announce/2018/04/msg00017.html
- [debian-lts-announce] 20180827 [SECURITY] [DLA 1480-1] ruby2.1 security update https://lists.debian.org/debian-lts-announce/2018/08/msg00028.html
- [debian-lts-announce] 20190520 [SECURITY] [DLA 1796-1] jruby security update https://lists.debian.org/debian-lts-announce/2019/05/msg00028.html
- USN-3621-1 https://usn.ubuntu.com/3621-1/
- USN-3621-2 https://usn.ubuntu.com/3621-2/
- USN-3685-1 https://usn.ubuntu.com/3685-1/
- DSA-4219 https://www.debian.org/security/2018/dsa-4219
- DSA-4259 https://www.debian.org/security/2018/dsa-4259
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4a50bc8862c33be02b4cd8064667fa9bc97ea433cd812b92067c1d686532736d
- Ingested
- 23 Sep 2026, 07:43:16 UTC
- Source record
- Official CVE record