---
title: CVE-2018-1000074
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-1000074
---

# CVE-2018-1000074

Publication date 13 March 2018

Last updated 18 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-1000074#impact-score)

Toggle side navigation

## 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.

### From the Ubuntu Security Team

It was discovered that the RubyGems embedded in JRuby would deserialize
unsafe objects in untrusted YAML. If a user were tricked into using the `gem
owner` command on a malicious ruby gem, JRuby could execute a malicious
payload.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2018-1000074#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ruby1.9.1 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Fixed in 1.9.3.484-2ubuntu1.12 |
| ruby2.0 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Fixed in 2.0.0.484-1ubuntu2.10 |
| ruby2.3 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Fixed in 2.3.3-1ubuntu1.4 |
| 16.04 LTS xenial | Fixed in 2.3.1-2~16.04.7 |
| 14.04 LTS trusty | Not in release |
| jruby | 26.10 stonking | Not affected |
| 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Ignored end of life |
| 18.04 LTS bionic | Needs evaluation |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Fixed in 1.5.6-9+deb8u2build0.14.04.1~esm2  Ubuntu Pro |
| ruby2.5 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Fixed in 2.5.1-1 |
| 19.04 disco | Fixed in 2.5.1-1 |
| 18.10 cosmic | Fixed in 2.5.1-1 |
| 18.04 LTS bionic | Fixed in 2.5.1-1 |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| ruby2.1 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [tyhicks](https://launchpad.net/~tyhicks)

ruby{1.9.1,2.0,2.3} and jruby ship an embedded rubygems.

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000074)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1000074)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-1000074)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-1000074)

### Related Ubuntu Security Notices (USN)

+ [USN-3621-1](https://usn.ubuntu.com/USN-3621-1)
+ Ruby vulnerabilities
+ 5 April 2018

+ [USN-3621-2](https://usn.ubuntu.com/USN-3621-2)
+ Ruby regression
+ 13 April 2018

+ [USN-3685-1](https://usn.ubuntu.com/USN-3685-1)
+ Ruby vulnerabilities
+ 13 June 2018

### Other references

* <https://github.com/rubygems/rubygems/commit/254e3d0ee873c008c0b74e8b8abcbdab4caa0a6d>
* <https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/>
* <https://www.cve.org/CVERecord?id=CVE-2018-1000074>
