Skip to content
OpenAdvisories
Medium USN-6838-1 2 CVEs

ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities

Published Jun 17, 2024 · Updated Apr 27, 2026

Summary

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)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS ruby2.7 2.7.0-5ubuntu1.13
Ubuntu · 22.04 LTS 22.04:LTS ruby3.0 3.0.2-7ubuntu2.6
Ubuntu · 24.04 LTS 24.04:LTS ruby3.2 3.2.3-1ubuntu0.24.04.1

Vulnerabilities 2

References

  • report
    https://ubuntu.com/security/CVE-2024-27281
  • report
    https://ubuntu.com/security/CVE-2024-27282