Ubuntu Security Notice
USN-6838-1
ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities
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)
It was discovered that the Ruby regex compiler incorrectly handled certain memory operations. A remote attacker could possibly use this issue to obtain sensitive memory contents. (CVE-2024-27282)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.13 (fixed in 2.7.0-5ubuntu1.13) |
| Ubuntu:22.04:LTS | ruby3.0 | All versions before 3.0.2-7ubuntu2.6 (fixed in 3.0.2-7ubuntu2.6) |
| Ubuntu:24.04:LTS | ruby3.2 | All versions before 3.2.3-1ubuntu0.24.04.1 (fixed in 3.2.3-1ubuntu0.24.04.1) |