# CVE-2023-23936: CRLF Injection in Nodejs ‘undici’ via host

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-16T17:30:23.968Z
- Modified: 2026-09-10T03:49:51.840Z
- Also known as: GHSA-5r9g-qh6m-jxff, BIT-NODE-2023-23936, BIT-NODE-MIN-2023-23936
- Weaknesses: CWE-74, CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nodejs undici: >=2.0.0, < 5.19.1; from 2.0.0 before 5.19.1
- undici (npm): from 2.0.0 before 5.19.1
- nodejs node.js: from 16.0.0 before 16.19.1; from 18.0.0 before 18.14.1; from 19.0.0 before 19.6.1
- node (Bitnami): from 16.0.0 before 16.19.1; from 18.0.0 before 18.14.1; from 19.0.0 before 19.6.1
- node-min (Bitnami): from 16.0.0 before 16.19.1; from 18.0.0 before 18.14.1; from 19.0.0 before 19.6.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/1820955> (exploit, advisory, third-party-advisory, web)
- <https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff> (advisory, vendor-advisory, web)
- <https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034> (fix, patch, web)
- <https://github.com/nodejs/undici/releases/tag/v5.19.1> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23936> (advisory, web)
- <https://github.com/nodejs/undici> (package)

## Sources

- CVE List: [CVE-2023-23936](https://www.cve.org/CVERecord?id=CVE-2023-23936), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-5r9g-qh6m-jxff](https://github.com/advisories/GHSA-5r9g-qh6m-jxff), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-23936](https://nvd.nist.gov/vuln/detail/CVE-2023-23936), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2023-23936](https://osv.dev/vulnerability/BIT-NODE-2023-23936), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2023-23936](https://osv.dev/vulnerability/BIT-NODE-MIN-2023-23936), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-23936 · Whole record: https://cve.day/CVE-2023-23936.json · Rebuilt by cve.day 2026-11-25T22:58:22.047Z
