CVE-2023-24807
Undici vulnerable to Regular Expression Denial of Service in Headers
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers.set()` and `Headers.append()` methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the `headerValueNormalize()` utility function. This vulnerability was patched in v5.19.1. No known workarounds are available.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2023-01-30 CVE Reserved
- 2023-02-16 CVE Published
- 2024-08-02 CVE Updated
- 2024-10-07 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
- CWE-1333: Inefficient Regular Expression Complexity
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/nodejs/undici/releases/tag/v5.19.1 | Release Notes |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf | 2023-02-24 |
URL | Date | SRC |
---|---|---|
https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w | 2023-02-24 | |
https://access.redhat.com/security/cve/CVE-2023-24807 | 2023-10-09 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2172204 | 2023-10-09 |