CVE-2023-23936

medium

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.

References

https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff

https://github.com/nodejs/undici/releases/tag/v5.19.1

https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034

Details

Source: Mitre, NVD

Published: 2023-02-16

Updated: 2023-02-24

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Severity: Medium