USN-6853-1: Ruby vulnerability

26 June 2024

Ruby could be made to crash or expose sensitive information login if it processed certain strings.

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.7 - Object-oriented scripting language
  • ruby3.0 - Object-oriented scripting language
  • ruby3.1 - Object-oriented scripting language

Details

It was discovered that Ruby incorrectly handled the ungetbyte and ungetc
methods. A remote attacker could use this issue to cause Ruby to crash,
resulting in a denial of service, or possibly obtain sensitive information.

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.10
Ubuntu 22.04
Ubuntu 20.04

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

References