USN-6853-1: Ruby vulnerability

Publication date

26 June 2024

Overview

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


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.

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.

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.10 mantic libruby3.1 –  3.1.2-7ubuntu3.3
ruby3.1 –  3.1.2-7ubuntu3.3
22.04 jammy libruby3.0 –  3.0.2-7ubuntu2.7
ruby3.0 –  3.0.2-7ubuntu2.7
20.04 focal libruby2.7 –  2.7.0-5ubuntu1.14
ruby2.7 –  2.7.0-5ubuntu1.14

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 ›