CVE-2023-23936

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

Configuration 1 (hide)

OR cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*

History

24 Feb 2023, 19:14

Type Values Removed Values Added
References (MISC) https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 - (MISC) https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 - Patch
References (MISC) https://hackerone.com/reports/1820955 - (MISC) https://hackerone.com/reports/1820955 - Exploit, Third Party Advisory
References (MISC) https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff - (MISC) https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff - Vendor Advisory
References (MISC) https://github.com/nodejs/undici/releases/tag/v5.19.1 - (MISC) https://github.com/nodejs/undici/releases/tag/v5.19.1 - Release Notes
CPE cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
CWE CWE-74
First Time Nodejs
Nodejs node.js
Nodejs undici
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4

16 Feb 2023, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-02-16 18:15

Updated : 2023-12-10 14:48


NVD link : CVE-2023-23936

Mitre link : CVE-2023-23936

CVE.ORG link : CVE-2023-23936


JSON object : View

Products Affected

nodejs

  • undici
  • node.js
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')