CVE-2023-23936

NameCVE-2023-23936
DescriptionUndici 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1031418

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-undici (PTS)bookworm (security), bookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3fixed
sid, trixie5.28.4+dfsg1+~cs23.12.11-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-undicisourcebookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1
node-undicisource(unstable)5.19.1+dfsg1+~cs20.10.9.5-11031418

Notes

https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 (v5.19.1)

Search for package or bug name: Reporting problems