CVE-2024-27282 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, in...
MediumCVSS 6.6
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cbl mariner | < 3.1.4-5 | 3.1.4-5 |
| Microsoft azure linux | < 3.3.3-1 | 3.3.3-1 |
| debian/ruby3.1(Debian:12) | < 3.1.2-7+deb12u1 | 3.1.2-7+deb12u1 |
| debian/ruby3.1(Debian:12) | = 3.1.2-7 | No fix listed |
| ubuntu/ruby3.0(Ubuntu:22.04) | < 3.0.2-7ubuntu2.6 | 3.0.2-7ubuntu2.6 |
| alpine/ruby(Alpine:v3.16) | < 3.1.5-r0 | 3.1.5-r0 |
| alpine/ruby(Alpine:v3.17) | < 3.1.5-r0 | 3.1.5-r0 |
| alpine/ruby(Alpine:v3.18) | < 3.2.4-r0 | 3.2.4-r0 |
| alpine/ruby(Alpine:v3.19) | < 3.2.4-r0 | 3.2.4-r0 |
| alpine/ruby(Alpine:v3.20) | < 3.3.1-r0 | 3.3.1-r0 |
| alpine/ruby(Alpine:v3.21) | < 3.3.1-r0 | 3.3.1-r0 |
| alpine/ruby(Alpine:v3.22) | < 3.3.1-r0 | 3.3.1-r0 |
| alpine/ruby(Alpine:v3.23) | < 3.3.1-r0 | 3.3.1-r0 |
| alpine/ruby(Alpine:v3.24) | < 3.3.1-r0 | 3.3.1-r0 |
| ubuntu/jruby(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby3.2(Ubuntu:24.04) | < 3.2.3-1ubuntu0.24.04.1 | 3.2.3-1ubuntu0.24.04.1 |
| ubuntu/jruby(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/jruby(Ubuntu:26.10) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- ruby vendor-advisory
- Debian Security Tracker CVE-2024-27282 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6838-1 vendor-advisory
- USN-7734-1 vendor-advisory
- www.cve.org
- hackerone.com
- www.ruby-lang.org
- security.netapp.com
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking