GHSA-q5vx-44v4-gch4

llhttp allows HTTP Request Smuggling via Improper Delimiting of Header Fields

At a glance

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

Description

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

Affected packages

PackageVersions
npm · llhttpintroduced 0, fixed 6.0.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database