CVSS 3.1
6.6 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LMedium (6.6). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LExplain CVE-2024-27282 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-27282?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-27282?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-27282 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ruby2.7 | 2.7.4-1+deb11u2 | DLA-3858-1 |
| Debian | 12 | ruby3.1 | 3.1.2-7+deb12u1 | DEBIAN-CVE-2024-27282 DSA-5677-1 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | jruby | no fix listed | UBUNTU-CVE-2024-27282 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.13 | UBUNTU-CVE-2024-27282 USN-6838-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.6 | UBUNTU-CVE-2024-27282 USN-6838-1 USN-7734-1 |
| Ubuntu | 24.04:LTS | ruby3.2 | 3.2.3-1ubuntu0.24.04.1 | UBUNTU-CVE-2024-27282 USN-6838-1 USN-7734-1 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | no fix listed | UBUNTU-CVE-2024-27282 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.16+esm5 | UBUNTU-CVE-2024-27282 USN-7734-1 |
| Ubuntu | Pro:20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.18+esm1 | USN-7734-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-112.module+el8.10.0+22021+135c76a8 | RHSA-2024:4499 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.1.5-143.module+el8.10.0+21792+e2f63d26 | RHSA-2024:3546 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.1-2.module+el8.10.0+21860+47fbda2a | RHSA-2024:3670 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:3.0.7-143.module+el8.10.0+21858+d19f3934 | RHSA-2024:3500 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.10.0+22021+135c76a8 | RHSA-2024:4499 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2024:3670 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21470+43ec8058 | RHSA-2024:3546 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21858+d19f3934 | RHSA-2024:3500 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.3.4-112.module+el8.10.0+22021+135c76a8 | RHSA-2024:4499 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.0.0-143.module+el8.10.0+21858+d19f3934 | RHSA-2024:3500 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.1-143.module+el8.10.0+21792+e2f63d26 | RHSA-2024:3546 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-2.module+el8.10.0+21860+47fbda2a | RHSA-2024:3670 |
| 130 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | ruby, ruby-doc, ruby-irb and 2 more | 2.5.9-112.module_el8.10.0+3871+342e2c2f | ALSA-2024:4499 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.1.5-143.module_el8.10.0+3854+02eaa59a | ALSA-2024:3546 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.1-2.module_el8.10.0+3855+767cb125 | ALSA-2024:3670 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 2 more | 3.0.7-143.module_el8.10.0+3852+ce828b19 | ALSA-2024:3500 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.10.0+3871+342e2c2f | ALSA-2024:4499 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2024:3670 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3852+ce828b19 | ALSA-2024:3500 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.9.0+3746+91b8233a | ALSA-2024:3546 |
| AlmaLinux | 8 | rubygem-bigdecimal | 1.3.4-112.module_el8.10.0+3871+342e2c2f | ALSA-2024:4499 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.0.0-143.module_el8.10.0+3852+ce828b19 | ALSA-2024:3500 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.1-143.module_el8.10.0+3854+02eaa59a | ALSA-2024:3546 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-2.module_el8.10.0+3855+767cb125 | ALSA-2024:3670 |
| 133 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:2.5.9-112.module+el8.10.0+1839+f1f156ae | RLSA-2024:4499 |
| Rocky Linux | 8 | ruby | 0:3.3.1-2.module+el8.10.0+1827+16ecb9d2 | RLSA-2024:3670 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.5.0+738+032c9c02 | RLSA-2024:4499 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1679+61871737 | RLSA-2024:3670 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
The CVE-2024-27282 vulnerability in Ruby is classified as a Moderate severity issue due to its potential to expose arbitrary heap data relative to the start of the text through the Ruby regex compiler. While the vulnerability allows the extraction of pointers and sensitive strings from memory, its exploitation requires attacker-supplied data to be provided to the regex compiler. This means that an attacker would need to craft specific input to exploit the issue, limiting the ease of exploitation compared to vulnerabilities that might be remotely exploitable without user interaction.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:3.0-8100020240522072634.489197e6 | Fixed 2024-05-30 | RHSA-2024:3500 |
| Red Hat Enterprise Linux 8 | ruby:3.1-8100020240510101534.489197e6 | Fixed 2024-06-03 | RHSA-2024:3546 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020240522151542.489197e6 | Fixed 2024-06-06 | RHSA-2024:3670 |
| Red Hat Enterprise Linux 8 | ruby:2.5-8100020240627152904.489197e6 | Fixed 2024-07-11 | RHSA-2024:4499 |
| Red Hat Enterprise Linux 9 | ruby:3.1-9040020240503183840.9 | Fixed 2024-06-06 | RHSA-2024:3668 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9040020240522171337.9 | Fixed 2024-06-06 | RHSA-2024:3671 |
| Red Hat Enterprise Linux 9 | ruby-0:3.0.7-162.el9_4 | Fixed 2024-06-11 | RHSA-2024:3838 |
| Red Hat Hardened Images | ruby3-3-main-3.3.10-23.1.hum1 | Fixed 2026-04-09 | RHSA-2026:7305 |
| Red Hat Hardened Images | ruby3-4-main-3.4.8-31.1.hum1 | Fixed 2026-04-09 | RHSA-2026:7307 |
| Red Hat Hardened Images | ruby4-0-main-4.0.0-33.3.hum1 | Fixed 2026-04-17 | RHSA-2026:8838 |
| Red Hat Enterprise Linux 10 | ruby | Not affected | |
| Red Hat Enterprise Linux 6 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 7 | ruby | Out of support scope | |
| Red Hat Hardened Images | ruby | Affected | |
| Red Hat Storage 3 | ruby | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-27282.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.