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.

Share this

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.

DistroReleasePackageStatus
Debian12 bookwormruby3.1Fixed in 3.1.2-7+deb12u1
Ubuntu26.04 LTSjrubyNo fix yet
24.04 LTSjrubyNo fix yet
24.04 LTSruby3.2Fixed in 3.2.3-1ubuntu0.24.04.1
22.04 LTSruby3.0Fixed in 3.0.2-7ubuntu2.6
20.04 LTSjrubyNo fix yet
20.04 LTSruby2.7Fixed in 2.7.0-5ubuntu1.13
18.04 LTSjrubyNo fix yet
16.04 LTSjrubyNo fix yet
Red Hat Enterprise LinuxRHEL 10rubyNot affected
RHEL 9rubyFixed in 3.0.7-162.el9_4 RHSA-2024:3838
RHEL 7rubyWon’t fix
RHEL 6rubyWon’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

  1. Patch todaySecurity release

    Language runtimeRuby

    Ruby security releases: 4.0.9, 3.4.12, 3.3.13

    Upgrade to 4.0.93.4.123.3.13

    Why: CVE-2026-97229: Known exploited (CISA KEV) and CISA requires forensic triage: patch and check for compromise.

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.7% (52th pct)FIRST EPSS v2026.06.15
CVSS base score6.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 exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

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.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →