USN-6087-1: Ruby vulnerabilities

Publication date

18 May 2023

Overview

Several security issues were fixed in Ruby.


Packages

  • ruby2.3 - Object-oriented scripting language
  • ruby2.5 - Object-oriented scripting language
  • ruby2.7 - Object-oriented scripting language

Details

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

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possily use this issue to cause a denial of service.
This issue only affected Ubuntu 16.04 ESM. (CVE-2023-28756)

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

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possily use this issue to cause a denial of service.
This issue only affected Ubuntu 16.04 ESM. (CVE-2023-28756)

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
20.04 focal ruby2.7 –  2.7.0-5ubuntu1.11
libruby2.7 –  2.7.0-5ubuntu1.11
18.04 bionic ruby2.5 –  2.5.1-1ubuntu1.16
libruby2.5 –  2.5.1-1ubuntu1.16
16.04 xenial libruby2.3 –  2.3.1-2~ubuntu16.04.16+esm7  
ruby2.3 –  2.3.1-2~ubuntu16.04.16+esm7  

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 ›