Ruby up to 3.0.6/3.1.4/3.2.3/3.3.0 Regex Search heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in Ruby up to 3.0.6/3.1.4/3.2.3/3.3.0. Affected by this vulnerability is an unknown functionality of the component Regex Search. Executing a manipulation can lead to heap-based overflow. The identification of this vulnerability is CVE-2024-27282. There is no exploit available. You should upgrade the affected component.
Details
A vulnerability was found in Ruby up to 3.0.6/3.1.4/3.2.3/3.3.0. It has been declared as problematic. This vulnerability affects some unknown functionality of the component Regex Search. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect confidentiality.
The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2024-27282 since 02/22/2024. The exploitation appears to be easy. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 215915 (Azure Linux 3.0 Security Update: ruby (CVE-2024-27282)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.0.7, 3.1.5, 3.2.4 or 3.3.1 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (215915) and CERT Bund (WID-SEC-2024-0952). Once again VulDB remains the best source for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- Oracle Linux
- RESF Rocky Linux
- Open Source Ruby
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.0VulDB Meta Temp Score: 5.0
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 6.6
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 215915
Nessus Name: Azure Linux 3.0 Security Update: ruby (CVE-2024-27282)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Ruby 3.0.7/3.1.5/3.2.4/3.3.1
Timeline
02/22/2024 🔍04/24/2024 🔍
04/24/2024 🔍
05/11/2026 🔍
Sources
Advisory: bugzilla.redhat.comStatus: Confirmed
CVE: CVE-2024-27282 (🔍)
GCVE (CVE): GCVE-0-2024-27282
GCVE (VulDB): GCVE-100-261844
CERT Bund: WID-SEC-2024-0952 - Ruby: Schwachstelle ermöglicht Offenlegung von Informationen
Entry
Created: 04/24/2024 09:27Updated: 05/11/2026 08:06
Changes: 04/24/2024 09:27 (53), 05/29/2024 02:00 (1), 11/02/2024 05:22 (13), 02/12/2025 00:29 (2), 05/11/2026 08:06 (7)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.