VDB
Sign up
CRITICAL9.1

GHSA-q5vx-44v4-gch4

llhttp allows HTTP Request Smuggling via Improper Delimiting of Header Fields

Quick fix

GHSA-q5vx-44v4-gch4 — llhttp: upgrade to the fixed version with the command below.

npm install llhttp@6.0.7

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/llhttp
Introduced in: 0Fixed in: 6.0.7
Fixnpm install llhttp@6.0.7

References