Vulnerabilities · 2023 · Nodejs
CVE-2023-24807
Nodejs Undici vulnerability
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 products
Undici. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Undici runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w · Vendor Advisory
- github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf · Patch
- hackerone.com/bugs?report_id=1784449 · Third Party Advisory
- github.com/nodejs/undici/releases/tag/v5.19.1
- security.netapp.com/advisory/ntap-20230324-0010/
- nvd.nist.gov/vuln/detail/CVE-2023-24807
- cve.org/CVERecord?id=CVE-2023-24807
More vulnerabilities in Nodejs products
CVE-2026-22036CVE-2026-21637CVE-2026-21636CVE-2025-59466CVE-2025-59465CVE-2025-59464CVE-2025-55132CVE-2025-55130All 154
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.