CVE-2024-26146
Possible Denial of Service Vulnerability in Rack Header Parsing
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Rack is a modular Ruby web server interface. Carefully crafted headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has mitigations for this problem, so Rack applications using Ruby 3.2 or newer are unaffected. This vulnerability is fixed in 2.0.9.4, 2.1.4.4, 2.2.8.1, and 3.0.9.1.
Rack es una interfaz modular de servidor web Ruby. Los encabezados cuidadosamente elaborados pueden hacer que el análisis de encabezados en Rack demore más de lo esperado, lo que resulta en un posible problema de denegación de servicio. Los encabezados Aceptar y Reenviar se ven afectados. Ruby 3.2 tiene mitigaciones para este problema, por lo que las aplicaciones Rack que usan Ruby 3.2 o posterior no se ven afectadas. Esta vulnerabilidad se solucionó en 2.0.9.4, 2.1.4.4, 2.2.8.1 y 3.0.9.1.
A denial of service (DoS) vulnerability was found in rubygem-rack in how it parses Rack Header. Carefully crafted headers can cause header parsing in Rack to take longer than expected, resulting in a possible denial of service issue. Accept and Forwarded headers are impacted.
It was discovered that Rack was not properly parsing data when processing multipart POST requests. If a user or automated system were tricked into sending a specially crafted multipart POST request to an application using Rack, a remote attacker could possibly use this issue to cause a denial of service. It was discovered that Rack was not properly escaping untrusted data when performing logging operations, which could cause shell escaped sequences to be written to a terminal. If a user or automated system were tricked into sending a specially crafted request to an application using Rack, a remote attacker could possibly use this issue to execute arbitrary code in the machine running the application.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2024-02-14 CVE Reserved
- 2024-02-28 CVE Published
- 2025-02-13 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-1333: Inefficient Regular Expression Complexity
CAPEC
References (11)
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2024-26146 | 2024-05-28 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2265595 | 2024-05-28 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Rack Search vendor "Rack" | Rack Search vendor "Rack" for product "Rack" | >= 3.0.0.0 < 3.0.9.1 Search vendor "Rack" for product "Rack" and version " >= 3.0.0.0 < 3.0.9.1" | en |
Affected
| ||||||
Rack Search vendor "Rack" | Rack Search vendor "Rack" for product "Rack" | >= 2.2.0.0 < 2.2.8.1 Search vendor "Rack" for product "Rack" and version " >= 2.2.0.0 < 2.2.8.1" | en |
Affected
| ||||||
Rack Search vendor "Rack" | Rack Search vendor "Rack" for product "Rack" | >= 2.1.0.0 < 2.1.4.4 Search vendor "Rack" for product "Rack" and version " >= 2.1.0.0 < 2.1.4.4" | en |
Affected
| ||||||
Rack Search vendor "Rack" | Rack Search vendor "Rack" for product "Rack" | < 2.0.9.4 Search vendor "Rack" for product "Rack" and version " < 2.0.9.4" | en |
Affected
|