# CVE-2023-24807: Undici vulnerable to Regular Expression Denial of Service in Headers

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.34%, higher than 72% of CVEs (2026-12-01)
- Published: 2023-02-16T17:30:19.923Z
- Modified: 2026-09-10T03:50:07.876Z
- Also known as: GHSA-r6ch-mqf9-qc9w
- Weaknesses: CWE-20, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nodejs undici: < 5.19.1; before 5.19.1
- undici (npm): before 5.19.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w> (vendor-advisory, web)
- <https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf> (patch, web)
- <https://github.com/nodejs/undici/releases/tag/v5.19.1> (release-notes, 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)

## Sources

- CVE List: [CVE-2023-24807](https://www.cve.org/CVERecord?id=CVE-2023-24807), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-r6ch-mqf9-qc9w](https://github.com/advisories/GHSA-r6ch-mqf9-qc9w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-24807](https://nvd.nist.gov/vuln/detail/CVE-2023-24807), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-24807 · Whole record: https://cve.day/CVE-2023-24807.json · Rebuilt by cve.day 2026-11-25T22:58:22.049Z
