GHSA-cggh-pq45-6h9x

llhttp vulnerable to HTTP request smuggling

At a glance

Published
Updated
CVE
CVE-2023-30589
Aliases
BIT-node-2023-30589, BIT-node-min-2023-30589
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS). The CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7230 section 3, only the CRLF sequence should delimit each header-field. This impacts all Node.js active versions: v16, v18, and, v20

Affected packages

PackageVersions
npm · llhttpintroduced 0, fixed 8.1.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database