Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

USN-6181-1: Ruby vulnerabilities

21 June 2023

Several security issues were fixed in Ruby.

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.

Learn more about Ubuntu Pro

Releases

Packages

  • ruby3.1 - Interpreter of object-oriented scripting language Ruby

Details

Hiroshi Tokumaru discovered that Ruby did not properly handle certain
user input for applications the generate HTTP responses using cgi gem.
An attacker could possibly use this issue to maliciously modify the
response a user would receive from a vulnerable application. This issue
only affected Ubuntu 22.10. (CVE-2021-33621)

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, CVE-2023-28756)

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.

Learn more about Ubuntu Pro

Update instructions

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

Ubuntu 23.04
Ubuntu 22.10

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

Related notices

  • USN-6055-1: libruby2.7, libruby2.3, ruby2.3-dev, ruby2.5-doc, ruby2.3-tcltk, ruby2.7-dev, ruby2.7-doc, libruby2.5, ruby2.3, ruby2.5-dev, ruby2.5, ruby2.3-doc, ruby2.7
  • USN-6055-2: libruby2.7, libruby2.3, ruby2.3-dev, ruby2.5-doc, ruby2.3-tcltk, ruby2.7-dev, ruby2.7-doc, libruby2.5, ruby2.3, ruby2.5-dev, ruby2.5, ruby2.3-doc, ruby2.7
  • USN-6087-1: libruby2.7, libruby2.3, ruby2.3-dev, ruby2.5-doc, ruby2.3-tcltk, ruby2.7-dev, ruby2.7-doc, libruby2.5, ruby2.3, ruby2.5-dev, ruby2.5, ruby2.3-doc, ruby2.7
  • USN-6219-1: ruby2.7-doc, libruby2.5, ruby3.1, ruby2.5, libruby3.0, ruby2.7-dev, ruby2.5-doc, ruby3.1-doc, libruby3.1, ruby3.0, ruby2.5-dev, ruby3.1-dev, libruby2.7, ruby3.0-dev, libruby2.3, ruby2.3-dev, ruby3.0-doc, ruby2.3-tcltk, ruby2.3, ruby2.3-doc, ruby2.7
  • USN-5806-1: libruby2.3, ruby2.3-dev, ruby2.3-tcltk, ruby2.3, ruby2.3-doc
  • USN-5806-2: libruby3.0, ruby3.0-dev, ruby3.0-doc, ruby2.5-doc, ruby3.0, libruby2.5, ruby2.5-dev, ruby2.5
  • USN-5806-3: ruby2.7-dev, libruby2.7, ruby2.7, ruby2.7-doc