Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. 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-5806-2: Ruby vulnerability

23 January 2023

Ruby could allow for internet traffic to be modified if a vulnerable application processed malicious user input.

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

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

Details

USN-5806-1 fixed vulnerabilities in Ruby. This update fixes the problem
for Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.10.

Original advisory details:

Hiroshi Tokumaru discovered that Ruby did not properly handle certain
user input for applications which 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.

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 22.10
Ubuntu 22.04
Ubuntu 18.04

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

References

Related notices

  • USN-5806-1: ruby2.3-doc, libruby2.3, ruby2.3-tcltk, ruby2.3-dev, ruby2.3
  • USN-5806-3: ruby2.7-dev, ruby2.7-doc, libruby2.7, ruby2.7
  • USN-6181-1: ruby3.1, libruby3.1, ruby3.1-doc, ruby3.1-dev