---
title: 'USN-3553-1: Ruby vulnerabilities | Ubuntu security notices'
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/notices/USN-3553-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-3553-1

---

# USN-3553-1: Ruby vulnerabilities

Publication date

31 January 2018

Overview

Several security issues were fixed in Ruby.

Releases

[17.10](https://ubuntu.com/security/notices?release=artful)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [ruby2.3](https://ubuntu.com/security/cves?package=ruby2.3) - Interpreter of object-oriented scripting language Ruby

## Details

It was discovered that Ruby failed to validate specification names.
An attacker could possibly use a maliciously crafted gem to potentially
overwrite any file on the filesystem. ([CVE-2017-0901](https://ubuntu.com/security/CVE-2017-0901))

It was discovered that Ruby was vulnerable to a DNS hijacking vulnerability.
An attacker could use this to possibly force the RubyGems client to download
and install gems from a server that the attacker controls. ([CVE-2017-0902](https://ubuntu.com/security/CVE-2017-0902))

It was discovered that Ruby incorrectly handled certain YAML files. An attacker could
use this to possibly execute arbitrary code. ([CVE-2017-0903](https://ubuntu.com/security/CVE-2017-0903))

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 17.10 artful | [libruby2.3](https://launchpad.net/ubuntu/+source/ruby2.3) –  [2.3.3-1ubuntu1.3](https://launchpad.net/ubuntu/+source/ruby2.3/2.3.3-1ubuntu1.3) | | |
| [ruby2.3](https://launchpad.net/ubuntu/+source/ruby2.3) –  [2.3.3-1ubuntu1.3](https://launchpad.net/ubuntu/+source/ruby2.3/2.3.3-1ubuntu1.3) | | |
| 16.04 LTS xenial | [libruby2.3](https://launchpad.net/ubuntu/+source/ruby2.3) –  [2.3.1-2~16.04.6](https://launchpad.net/ubuntu/+source/ruby2.3/2.3.1-2~16.04.6) | | |
| [ruby2.3](https://launchpad.net/ubuntu/+source/ruby2.3) –  [2.3.1-2~16.04.6](https://launchpad.net/ubuntu/+source/ruby2.3/2.3.1-2~16.04.6) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2017-0903](https://ubuntu.com/security/CVE-2017-0903)
* [CVE-2017-0902](https://ubuntu.com/security/CVE-2017-0902)
* [CVE-2017-0901](https://ubuntu.com/security/CVE-2017-0901)

## Related notices

* [USN-3685-1](https://ubuntu.com/security/notices/USN-3685-1)
* [USN-3685-2](https://ubuntu.com/security/notices/USN-3685-2)
* [USN-3439-1](https://ubuntu.com/security/notices/USN-3439-1)
