CVE-2023-24807
HIGH 7.5CVSS 3.1Regular Expression Denial of Service in 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.
- Published
- 16 Feb 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-20
- Also known as
- GHSA-r6ch-mqf9-qc9w
- Sources
- NVDJSONOSV GHSA-r6ch-mqf9-qc9wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
< 5.19.1 | 5.19.1 |
| OSV | npm | undici | < 5.19.1 | 5.19.1 |
References
- https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf · Patch, WEB
- https://github.com/nodejs/undici/releases/tag/v5.19.1 · Release Notes, WEB
- https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w · Vendor Advisory, WEB
- https://hackerone.com/bugs?report_id=1784449 · Permissions Required, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230324-0010/
- https://nvd.nist.gov/vuln/detail/CVE-2023-24807 · ADVISORY
- https://github.com/nodejs/undici · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Feb 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Feb 2023)