USN-6853-1: Ruby vulnerability
26 June 2024
Ruby could be made to crash or expose sensitive information login if it processed certain strings.
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.
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.