PT-2024-3335
CVE-2024-27282
·
Published
2024-04-23
·
Updated
2026-11-10
Description by
CVSS 3.1
6.6
MediumMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Name of the Vulnerable Software and Affected Versions
Ruby versions 3.0.0 through 3.3.0
Description
The issue is related to a buffer overflow in the heap of the Ruby programming language interpreter. It allows an attacker to impact the confidentiality, integrity, and availability of protected information. 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.
Recommendations
For Ruby versions 3.0.0 through 3.0.6, update to version 3.0.7.
For Ruby versions 3.1.0 through 3.1.4, update to version 3.1.5.
For Ruby versions 3.2.0 through 3.2.3, update to version 3.2.4.
For Ruby versions 3.3.0, update to version 3.3.1.
As a temporary workaround, consider restricting the use of the Ruby regex compiler with attacker-supplied data until a patch is applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾