CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
At a glance
- Severity
- MEDIUM 6.5
- EPSS
- EPSS 1.13 % · percentile 66 (2026-10-27)
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
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.
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Weaknesses (CWE)
Advisories
- GHSA-5r9g-qh6m-jxff — CRLF Injection in Nodejs ‘undici’ via host
European references
- ENISA EUVD · EUVD-2023-0633
- GCVE · GCVE-0-2023-23936
CERT-FR advisories
- CERTFR-2025-AVI-0170 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-1051 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0145 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0886 — Multiples vulnérabilités dans Tenable Identity Exposure · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0504 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0337 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*≥ 16.0.0 < 16.19.1cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*≥ 18.0.0 < 18.14.1cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 19.0.0 < 19.6.1cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*≥ 2.0.0 < 5.19.1
Affected products
| Product | Versions |
|---|---|
| nodejs · undici | affected >=2.0.0, < 5.19.1 |
References
- https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
- https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034
- https://hackerone.com/reports/1820955
- https://github.com/nodejs/undici/releases/tag/v5.19.1
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |