Ruby · published 2024-05-08
CVE-2024-27282
Routine No exploitation evidence; EPSS 0.7%.
CVE-2024-27282 is not known to be exploited in the wild. EPSS estimates a 0.7% chance of exploitation in the next 30 days, higher than 52% of all CVEs. This Ruby vulnerability: CVSS 6.6 (v3.1). Fixed upstream in Ruby 4.0.9, 3.4.12, 3.3.13; patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux; Ubuntu still has unfixed releases. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Ruby 4.0.9, 3.4.12, 3.3.13.
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 12 bookworm | ruby3.1 | Fixed in 3.1.2-7+deb12u1 |
| Ubuntu | 26.04 LTS | jruby | No fix yet |
| 24.04 LTS | jruby | No fix yet | |
| 24.04 LTS | ruby3.2 | Fixed in 3.2.3-1ubuntu0.24.04.1 | |
| 22.04 LTS | ruby3.0 | Fixed in 3.0.2-7ubuntu2.6 | |
| 20.04 LTS | jruby | No fix yet | |
| 20.04 LTS | ruby2.7 | Fixed in 2.7.0-5ubuntu1.13 | |
| 18.04 LTS | jruby | No fix yet | |
| 16.04 LTS | jruby | No fix yet | |
| Red Hat Enterprise Linux | RHEL 10 | ruby | Not affected |
| RHEL 9 | ruby | Fixed in 3.0.7-162.el9_4 RHSA-2024:3838 | |
| RHEL 7 | ruby | Won’t fix | |
| RHEL 6 | ruby | Won’t fix |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Language runtimeRuby
Ruby security releases: 4.0.9, 3.4.12, 3.3.13
Upgrade to
4.0.93.4.123.3.13Why: CVE-2026-97229: Known exploited (CISA KEV) and CISA requires forensic triage: patch and check for compromise.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.7% (52th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.6 (v3.1)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Product
n/a(affected)
Description (from the CVE record)#
An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. The fixed versions are 3.0.7, 3.1.5, 3.2.4, and 3.3.1.
Quoted from the CVE Program record.