Vulnerabilities · 2023 · Nodejs
CVE-2023-23936
Nodejs Node.js vulnerability
Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici.
Affected products
Node.js, Undici. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js 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-5r9g-qh6m-jxff · Vendor Advisory
- github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 · Patch
- hackerone.com/reports/1820955 · Exploit
- github.com/nodejs/undici/releases/tag/v5.19.1
- nvd.nist.gov/vuln/detail/CVE-2023-23936
- cve.org/CVERecord?id=CVE-2023-23936
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.