CVE-2024-27281: ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities
Affects ruby2.7Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 4.5 Medium · fixed in 2.7.0-5ubuntu1.13 : update ruby2.7 when convenient.
Data as of 24 Nov 2026, 17:24 UTC
- Patch
- Available – fixed in 2.7.0-5ubuntu1.13, 3.0.2-7ubuntu2.6, 3.2.3-1ubuntu0.24.04.1
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 8 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu to 2.7.0-5ubuntu1.13 (ruby2.7 package) or 3.0.2-7ubuntu2.6 (ruby3.0 package) or 3.2.3-1ubuntu0.24.04.1 (ruby3.2 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSruby2.7pkg:deb/ubuntu/ruby2.7?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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)