All reports
Low

llhttp: HTTP Request Smuggling due to spaces in headers

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-22959

Probability of exploitation in the next 30 days: 3.16%

FIRST EPSS · 2026-11-21

Description

The parser in accepts requests with a space (SP) right after the header name before the colon. This can lead to HTTP Request Smuggling (HRS) in llhttp < v2.1.4 and < v6.0.6.

An HTTP Request Smuggling (HRS) vulnerability was found in the llhttp library, used by Node.JS. Spaces as part of the header names were accepted as valid. In situations where HTTP conversations are being proxied (such as proxy, reverse-proxy, load-balancer), an attacker can use this flaw to inject arbitrary messages through the proxy. The highest threat from this vulnerability is to confidentiality and integrity.