CVE-2023-24807
published 2023-02-16CVE-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…
PriorityP338high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.30%
67.2th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-undici | < node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1 (bookworm) | node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1 (bookworm) |
| msrc | cbl2_nodejs_16.19.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| nodejs | undici | < 5.19.1 | 5.19.1 |
| nodejs | undici | >= 0 < 5.19.1 | 5.19.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Regular Expression Denial of Service in Headers
osv·2023-02-16
CVE-2023-24807 [HIGH] Regular Expression Denial of Service in Headers
Regular Expression Denial of Service in Headers
### Impact
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.
### Patches
This vulnerability was patched in v5.19.1.
### Workarounds
There is no workaround. Please update to an unaffected version.
### References
* https://hackerone.com/bugs?report_id=1784449
### Credits
Carter Snook reported this vulnerability.
GHSA
Regular Expression Denial of Service in Headers
ghsa·2023-02-16
CVE-2023-24807 [HIGH] CWE-1333 Regular Expression Denial of Service in Headers
Regular Expression Denial of Service in Headers
### Impact
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.
### Patches
This vulnerability was patched in v5.19.1.
### Workarounds
There is no workaround. Please update to an unaffected version.
### References
* https://hackerone.com/bugs?report_id=1784449
### Credits
Carter Snook reported this vulnerability.
OSV
CVE-2023-24807: Undici is an HTTP/1
osv·2023-02-16·CVSS 7.5
CVE-2023-24807 [HIGH] CVE-2023-24807: Undici is an HTTP/1
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.
Red Hat
Node.js: Regular Expression Denial of Service in Headers fetch API
vendor_redhat·2023-02-16·CVSS 7.5
CVE-2023-24807 [HIGH] CWE-1333 Node.js: Regular Expression Denial of Service in Headers fetch API
Node.js: Regular Expression Denial of Service in Headers fetch API
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.
Package: 3scale-amp-system-container (Red Hat 3scale API Management Platform 2) - Fix deferred
Package: nodejs (Red Hat Enterprise Linux 8) - Not affected
Microsoft
Undici vulnerable to Regular Expression Denial of Service in Headers
vendor_msrc·2023-02-14·CVSS 7.5
CVE-2023-24807 [HIGH] CWE-1333 Undici vulnerable to Regular Expression Denial of Service in Headers
Undici vulnerable to Regular Expression Denial of Service in Headers
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Refer
Debian
CVE-2023-24807: node-undici - Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers....
vendor_debian·2023·CVSS 7.5
CVE-2023-24807 [HIGH] CVE-2023-24807: node-undici - Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers....
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.
Scope: local
bookworm: resolved (fixed in 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1)
forky: resolved (fixed in 5.19.1+dfsg1+~cs20.10.9.5-1)
sid: resolved (fixed in 5.19.1+dfsg1+~cs20.10.9.5-1)
trixie: resolved (fixed in 5.19.1+dfsg1+~cs20.10.9.5-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdfhttps://github.com/nodejs/undici/releases/tag/v5.19.1https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9whttps://hackerone.com/bugs?report_id=1784449https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdfhttps://github.com/nodejs/undici/releases/tag/v5.19.1https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9whttps://hackerone.com/bugs?report_id=1784449https://security.netapp.com/advisory/ntap-20230324-0010/
2023-02-16
Published