USN-4201-1: Ruby vulnerabilities

Publication date

26 November 2019

Overview

Several security issues were fixed in Ruby.


Packages

  • ruby2.3 - Object-oriented scripting language
  • ruby2.5 - Interpreter of object-oriented scripting language Ruby

Details

It was discovered that Ruby incorrectly handled certain files.
An attacker could possibly use this issue to pass path matching
what can lead to an unauthorized access. (CVE-2019-15845)

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could use this issue to cause a denial of service.
(CVE-2019-16201)

It was discovered that Ruby incorrectly handled certain HTTP headers.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16254)

It was discovered that Ruby incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16255)

It was discovered that Ruby incorrectly handled certain files.
An attacker could possibly use this issue to pass path matching
what can lead to an unauthorized access. (CVE-2019-15845)

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could use this issue to cause a denial of service.
(CVE-2019-16201)

It was discovered that Ruby incorrectly handled certain HTTP headers.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16254)

It was discovered that Ruby incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16255)

Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
19.10 eoan libruby2.5 –  2.5.5-4ubuntu2.1
ruby2.5 –  2.5.5-4ubuntu2.1
19.04 disco libruby2.5 –  2.5.5-1ubuntu1.1
ruby2.5 –  2.5.5-1ubuntu1.1
18.04 bionic libruby2.5 –  2.5.1-1ubuntu1.6
ruby2.5 –  2.5.1-1ubuntu1.6
16.04 xenial libruby2.3 –  2.3.1-2~ubuntu16.04.14
ruby2.3 –  2.3.1-2~ubuntu16.04.14

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.


Have additional questions?

Talk to a member of the team ›