ADVISORIES

Ubuntu Security Notice

USN-7734-1

ruby2.5, ruby2.7, ruby3.0, ruby3.2, ruby3.3 vulnerabilities

Details

It was discovered that Ruby incorrectly handled certain IO stream methods. A remote attacker could use this issue to cause Ruby to crash, resulting in a denial of service, or possibly obtain sensitive information. This issue only affected Ubuntu 18.04 LTS. (CVE-2024-27280)

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. This issue only affected Ubuntu 18.04 LTS. (CVE-2024-27282)

It was discovered that Ruby incorrectly handled parsing of certain XML characters through the REXML gem. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2024-35176)

It was discovered that Ruby incorrectly handled decompressed domain names within a DNS packet. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. (CVE-2025-24294)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.16+esm5 (fixed in 2.5.1-1ubuntu1.16+esm5)
Ubuntu:Pro:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.18+esm1 (fixed in 2.7.0-5ubuntu1.18+esm1)
Ubuntu:22.04:LTSruby3.0
All versions before 3.0.2-7ubuntu2.11 (fixed in 3.0.2-7ubuntu2.11)
Ubuntu:24.04:LTSruby3.2
All versions before 3.2.3-1ubuntu0.24.04.6 (fixed in 3.2.3-1ubuntu0.24.04.6)

References