Skip to main content
VulnerabilityPublished Updated

CVE-2024-27281: ruby2.3, ruby2.5 vulnerability

Affects ruby2.3Source GCVE Database

0
Compare
Authoritative record:CVE-2024-27281· Medium 4.5

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

CVSS 3.1 base score
4.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu Pro 18.04 LTSruby2.5pkg:deb/ubuntu/ruby2.5?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.5.1-1ubuntu1.16+esm3
Fixed in
  • 2.5.1-1ubuntu1.16+esm3
Ubuntu Pro 16.04 LTSruby2.3pkg:deb/ubuntu/ruby2.3?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.3.1-2~ubuntu16.04.16+esm9
Fixed in
  • 2.3.1-2~ubuntu16.04.16+esm9

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)

References

Community reviews

Loading reviews…