CVE-2024-27281: ruby2.3, ruby2.5 vulnerability
Affects ruby2.3Source GCVE Database
Not known to be exploited · CVSS 4.5 Medium · fixed in 2.3.1-2~ubuntu16.04.16+esm9 : update ruby2.3 when convenient.
Data as of 24 Nov 2026, 17:24 UTC
- Patch
- Available – fixed in 2.3.1-2~ubuntu16.04.16+esm9, 2.5.1-1ubuntu1.16+esm3
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.3.1-2~ubuntu16.04.16+esm9 (ruby2.3 package) or 2.5.1-1ubuntu1.16+esm3 (ruby2.5 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 18.04 LTSruby2.5pkg:deb/ubuntu/ruby2.5?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSruby2.3pkg:deb/ubuntu/ruby2.3?arch=source&distro=esm-infra/xenialOther 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
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 .rdoc_options file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-27281)