USN-6838-2: Ruby vulnerability

Published 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 .rdocoptions file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-27281)

Affected Software

8 affected componentsFixes available
All of the following
ubuntu/libruby2.5<2.5.1-1ubuntu1.16+esm3
2.5.1-1ubuntu1.16+esm3
Ubuntu Ubuntu=18.04
All of the following
ubuntu/ruby2.5<2.5.1-1ubuntu1.16+esm3
2.5.1-1ubuntu1.16+esm3
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libruby2.3<2.3.1-2~ubuntu16.04.16+esm9
2.3.1-2~ubuntu16.04.16+esm9
Ubuntu Ubuntu=16.04
All of the following
ubuntu/ruby2.3<2.3.1-2~ubuntu16.04.16+esm9
2.3.1-2~ubuntu16.04.16+esm9
Ubuntu Ubuntu=16.04

Event History

Feb 10, 2025
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of USN-6838-2?

The severity of USN-6838-2 is classified as important due to potential security vulnerabilities in Ruby RDoc.

2

How do I fix USN-6838-2?

To fix USN-6838-2, users should upgrade to the patched versions of Ruby 2.3 and 2.5 provided in the update.

3

Which versions of Ruby are affected by USN-6838-2?

USN-6838-2 affects Ruby versions 2.3 and 2.5, specifically on Ubuntu 16.04 and 18.04.

4

What is the cause of the vulnerability in USN-6838-2?

The vulnerability in USN-6838-2 is due to Ruby RDoc incorrectly parsing certain YAML files.

5

Is my system at risk if I use Ruby 2.3 or 2.5 on Ubuntu 16.04 or 18.04?

Yes, systems running Ruby 2.3 or 2.5 on Ubuntu 16.04 or 18.04 without the latest updates are at risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203