ADVISORIES

Ubuntu Security Notice

USN-6838-2

ruby2.3, ruby2.5 vulnerability

Details

USN-6838-1 fixed CVE-2024-27281 in Ruby 2.7, Ruby 3.0, Ruby 3.1, and Ruby 3.2. This update provides the corresponding updates for Ruby 2.3 and Ruby 2.5.

Original advisory details:

It was discovered that Ruby RDoc incorrectly parsed certain YAML files. If a user or automated system were tricked into parsing a specially crafted .rdoc_options file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-27281)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSruby2.3
All versions before 2.3.1-2~ubuntu16.04.16+esm9 (fixed in 2.3.1-2~ubuntu16.04.16+esm9)
Ubuntu:Pro:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.16+esm3 (fixed in 2.5.1-1ubuntu1.16+esm3)

References