CVE-2024-27282: Medium severity redhat/ruby vulnerability
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.
https://www.ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282/
Other sources
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.
— Launchpad
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27282?
CVE-2024-27282 is considered a high severity vulnerability due to the potential for sensitive data extraction.
How do I fix CVE-2024-27282?
To mitigate CVE-2024-27282, upgrade Ruby to version 3.3.1, 3.1.5, 3.2.4, or apply the respective patches for earlier versions.
What versions of Ruby are affected by CVE-2024-27282?
CVE-2024-27282 affects Ruby versions 3.0.0 up to and including 3.3.0, as well as earlier versions like 2.7.4.
What kind of exploit does CVE-2024-27282 allow?
CVE-2024-27282 allows attackers to extract arbitrary heap data from Ruby's regex compiler, which could potentially include sensitive information.
Is CVE-2024-27282 a remote or local vulnerability?
CVE-2024-27282 is classified as a local vulnerability because it requires attacker-supplied data to trigger the exploit.