Improper input validation in Node.js Undici
CVE-2023-24807
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.013, 71.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Undici — versions < 5.19.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, Extiri/extiri-web, seal-community/patches). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w (Vendor Advisory)
- https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf (Patch)
- https://github.com/nodejs/undici/releases/tag/v5.19.1 (Release Notes)
- https://hackerone.com/bugs?report_id=1784449 (Permissions Required, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230324-0010/