First published: Mon Feb 10 2025(Updated: )
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 Software | Affected Version | How to fix |
---|---|---|
All of | ||
ubuntu/libruby2.5 | <2.5.1-1ubuntu1.16+esm3 | 2.5.1-1ubuntu1.16+esm3 |
Ubuntu | =18.04 | |
All of | ||
ubuntu/ruby2.5 | <2.5.1-1ubuntu1.16+esm3 | 2.5.1-1ubuntu1.16+esm3 |
Ubuntu | =18.04 | |
All of | ||
ubuntu/libruby2.3 | <2.3.1-2~ubuntu16.04.16+esm9 | 2.3.1-2~ubuntu16.04.16+esm9 |
Ubuntu | =16.04 | |
All of | ||
ubuntu/ruby2.3 | <2.3.1-2~ubuntu16.04.16+esm9 | 2.3.1-2~ubuntu16.04.16+esm9 |
Ubuntu | =16.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of USN-6838-2 is classified as important due to potential security vulnerabilities in Ruby RDoc.
To fix USN-6838-2, users should upgrade to the patched versions of Ruby 2.3 and 2.5 provided in the update.
USN-6838-2 affects Ruby versions 2.3 and 2.5, specifically on Ubuntu 16.04 and 18.04.
The vulnerability in USN-6838-2 is due to Ruby RDoc incorrectly parsing certain YAML files.
Yes, systems running Ruby 2.3 or 2.5 on Ubuntu 16.04 or 18.04 without the latest updates are at risk.