CVE-2023-24807Nodejs Undici
High 7.5 No auth needed
Follow: this CVE · Nodejs · Nodejs Undici We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Feb 16, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Undici.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | undici |
< 5.19.1 |
5.19.1 |
npm install undici@5.19.1 |
Per OSV / GitHub Advisories (GHSA-r6ch-mqf9-qc9w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | < 5.19.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory
- hackerone.com Permissions Required Third Party Advisory
- security.netapp.com