Bug 2014057 (CVE-2021-22959) - CVE-2021-22959 llhttp: HTTP Request Smuggling due to spaces in headers
Summary: CVE-2021-22959 llhttp: HTTP Request Smuggling due to spaces in headers
Keywords:
Status: NEW
Alias: CVE-2021-22959
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2014130 2014131 2014132 2014133 2014134 2014499 2027644 2027648 2027649 2014116 2014117 2014118 2014119 2014120 2014121 2014122 2014123
Blocks: 2014056
TreeView+ depends on / blocked
 
Reported: 2021-10-14 11:56 UTC by Cedric Buissart
Modified: 2021-12-06 12:03 UTC (History)
14 users (show)

Fixed In Version: llhttp 6.0.6, llhttp 2.1.4, node 12.22.7, node 14.18.1, node 16.11.1
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Cedric Buissart 2021-10-14 11:56:23 UTC
The http parser accepts requests with a space (SP) right after the header name before the colon. This can lead to HTTP Request Smuggling (HRS).

The fix for this is included in llhttp v2.1.4 and v6.0.6.

Impacts:

    All versions of the 16.x, 14.x, and 12.x releases lines.

Comment 1 Cedric Buissart 2021-10-14 13:44:58 UTC
Created nodejs tracking bugs for this issue:

Affects: epel-all [bug 2014116]
Affects: fedora-all [bug 2014117]


Created nodejs:10/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2014118]


Created nodejs:12/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2014119]


Created nodejs:13/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2014120]


Created nodejs:14/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2014121]


Created nodejs:15/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2014122]


Created nodejs:16/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2014123]

Comment 3 Cedric Buissart 2021-10-14 16:52:14 UTC
HackerOne report (currently private) : https://hackerone.com/reports/1238099


Note You need to log in before you can comment on or make changes to this bug.