CVE-2018-1000074
RubyGems Deserialization of Untrusted Data vulnerability
Reported by mitre · Published March 13, 2018
rubygems-update is fixed in 2.7.6 and 2.5.0 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jruby:jruby-stdlib | Maven Central | 9.1.16.0 |
| rubygems-update | RubyGems | 2.7.6, 2.5.0 |
| rubygem-io-console | Amazon Linux | 0.4.2-36.amzn2.0.1 |
| rubygems | Amazon Linux | 2.0.14.1-36.amzn2.0.1 |
| ruby-tcltk | Amazon Linux | 2.0.0.648-36.amzn2.0.1 |
| rubygem-psych | Amazon Linux | 2.0.0-36.amzn2.0.1 |
| rubygem-rdoc | Amazon Linux | 4.0.0-36.amzn2.0.1 |
| ruby | Amazon Linux | 2.0.0.648-36.amzn2.0.1 |
| ruby-doc | Amazon Linux | 2.0.0.648-36.amzn2.0.1 |
| rubygem-json | Amazon Linux | 1.7.7-36.amzn2.0.1 |
| rubygem-minitest | Amazon Linux | 4.3.2-36.amzn2.0.1 |
| ruby-devel | Amazon Linux | 2.0.0.648-36.amzn2.0.1 |
10 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Mar 13, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1000074
vulnetix vdb fixes CVE-2018-1000074
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1000074/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3685-1 vendor-advisoryx_refsource_UBUNTU
- USN-3621-2 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- [debian-lts-announce] 20180417 [SECURITY] [DLA 1352-1] jruby security update mailing-listx_refsource_MLIST
- DSA-4219 vendor-advisoryx_refsource_DEBIAN
- USN-3621-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:3729 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:3730 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:3731 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180827 [SECURITY] [DLA 1480-1] ruby2.1 security update mailing-listx_refsource_MLIST
- DSA-4259 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- [debian-lts-announce] 20190520 [SECURITY] [DLA 1796-1] jruby security update mailing-listx_refsource_MLIST
- openSUSE-SU-2019:1771 vendor-advisoryx_refsource_SUSE
- RHSA-2019:2028 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0542 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0591 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0663 vendor-advisoryx_refsource_REDHAT