CVE-2024-27282

ruby: Arbitrary memory address read vulnerability with Regex search

Published May 8, 2024 CVSS 3.1 · 6.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3858-1 ruby2.7 security update
Debian DSA Debian DSA DSA-5677-1 ruby3.1 security update
EUVD EUVD EUVD-2024-24519 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.
Ubuntu USN Ubuntu USN USN-6838-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7734-1 Ruby vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 4, 2025, 5:17 PM
Reserved
Feb 22, 2024, 12:00 AM
Status
Deferred
Published
May 14, 2024, 3:11 PM
Modified
Jun 17, 2026, 7:19 AM
Severity
Moderate
Public date
Apr 23, 2024, 12:00 AM