Live threats

All CVEs / Nodejs

CVE-2023-23936Nodejs Node.js

Medium 5.4 No auth needed

Priority
48
CVSS 3.1
5.4
EPSS
1.2%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Feb 16, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-93, CWE-74
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm undici ≥ 2.0.0 < 5.19.1 5.19.1 npm install undici@5.19.1

Per OSV / GitHub Advisories (GHSA-5r9g-qh6m-jxff). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 16.0.0 < 16.19.1
nodejsnode.js≥ 18.0.0 < 18.14.1
nodejsnode.js≥ 19.0.0 < 19.6.1
nodejsundici≥ 2.0.0 < 5.19.1

Official sources

References

Links published by the sources. Open them with care.