ADVISORIES

Ubuntu Security Notice

USN-6853-1

ruby2.7, ruby3.0, ruby3.1 vulnerability

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.14 (fixed in 2.7.0-5ubuntu1.14)
Ubuntu:22.04:LTSruby3.0
All versions before 3.0.2-7ubuntu2.7 (fixed in 3.0.2-7ubuntu2.7)

References