Skip to main content
VulnerabilityPublished Updated

CVE-2024-27282: Ruby · Out-of-bounds Read

Source GCVE Database

0
Compare
Authoritative record:CVE-2024-27282· Medium 6.6

Not known to be exploited · CVSS 6.6 Medium · fixed in 3.3.1 : update ruby when convenient.

Data as of 3 Nov 2026, 17:21 UTC

CVSS 3.1 base score
6.6Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.16.6
Patch
Available – fixed in 3.3.1, 3.2.4, 3.1.5 +1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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 3 Nov 2026.

What to do

Upgrade ruby to 3.3.1, 3.2.4, 3.1.5 or 3.0.7.

Affected software

ProductAffectedFixed in
RubyGemsrubypkg:gem/rubyOther threatsAffected
  • <3.0.7
  • >=3.0.7 <3.1.5
  • >=3.1.5 <3.2.4
  • >=3.2.4 <3.3.1
Fixed in
  • 3.0.7
  • 3.1.5
  • 3.2.4
  • 3.3.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Ruby to one of the fixed versions: 3.0.7, 3.1.5, 3.2.4, or 3.3.1. Applying these official fixes will remediate the vulnerability. No other mitigation or workaround is indicated.

Description

CVE-2024-27282 is a vulnerability in Ruby versions 3.0.0 through 3.3.0 where attacker-supplied data to the Ruby regex compiler can lead to arbitrary heap data disclosure. This includes sensitive information such as pointers and strings. The issue is fixed in Ruby versions 3.0.7, 3.1.5, 3.2.4, and 3.3.1.

References

Community reviews

Loading reviews…