USN-6219-1: Ruby vulnerabilities

Publication date

12 July 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
  • ruby3.0 - Interpreter of object-oriented scripting language Ruby
  • ruby3.1 - Interpreter of object-oriented scripting language Ruby

Details

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 20.10 and Ubuntu 20.04 LTS.
(CVE-2023-28755)

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause a denial of service.
This issue exists because of an incomplete fix for CVE-2023-28755.
(CVE-2023-36617)

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 20.10 and Ubuntu 20.04 LTS.
(CVE-2023-28755)

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause a denial of service.
This issue exists because of an incomplete fix for CVE-2023-28755.
(CVE-2023-36617)

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
23.04 lunar ruby3.1 –  3.1.2-6ubuntu0.23.04.2
libruby3.1 –  3.1.2-6ubuntu0.23.04.2
22.10 kinetic ruby3.0 –  3.0.4-7ubuntu0.2
libruby3.0 –  3.0.4-7ubuntu0.2
22.04 jammy ruby3.0 –  3.0.2-7ubuntu2.4
libruby3.0 –  3.0.2-7ubuntu2.4
20.04 focal ruby2.7 –  2.7.0-5ubuntu1.12
libruby2.7 –  2.7.0-5ubuntu1.12
18.04 bionic ruby2.5 –  2.5.1-1ubuntu1.16+esm1  
libruby2.5 –  2.5.1-1ubuntu1.16+esm1  
16.04 xenial libruby2.3 –  2.3.1-2~ubuntu16.04.16+esm8  
ruby2.3 –  2.3.1-2~ubuntu16.04.16+esm8  

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 ›