CVE-2024-27282: ruby Out-of-bounds Read
CVSS: 6.6v3.1MediumDeferred
AliasesALPINE-CVE-2024-27282UBUNTU-CVE-2024-27282DEBIAN-CVE-2024-27282
Published 08-05-2024Last modified 04-11-2025
Vulnerability summary
CVE-2024-27282 is a medium (CVSS 6.6) Out-of-bounds Read vulnerability in ruby. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.1% of scored vulnerabilities.
CVSS score
6.6/10
010
Medium · v3.1 (CVE.org)EPSS score
0.63%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 15 · Related 2Timeline
- 08-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 versionMedium 6.6Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LSourcesAll 5 agree
- OSV · AlpineEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- NVDNIST6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.63% on 19-09-2026
19-09-202619-10-2026
EPSS score0.63%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu6 products
- jrubyAll versions (No fix recorded)
- ruby2.3All versions (No fix recorded)
- ruby2.5< 2.5.1-1ubuntu1.16+esm5
- ruby2.7< 2.7.0-5ubuntu1.13
- ruby3.0< 3.0.2-7ubuntu2.6
Alpine1 product
- ruby< 3.1.5-r0 | < 3.2.4-r0 | < 3.3.1-r0
Debian1 product
- ruby3.1< 3.1.2-7+deb12u1
3 vendors · 8 products