Name | CVE-2021-22960 |
Description | The parse function in llhttp < 2.1.4 and < 6.0.6. ignores chunk extensions when parsing the body of chunked requests. This leads to HTTP Request Smuggling (HRS) under certain conditions. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5170-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
nodejs (PTS) | jessie | 0.10.29~dfsg-2 | vulnerable |
| stretch | 4.8.2~dfsg-1 | vulnerable |
| buster (security), buster, buster (lts) | 10.24.0~dfsg-1~deb10u4 | fixed |
| bullseye | 12.22.12~dfsg-1~deb11u4 | fixed |
| bullseye (security) | 12.22.12~dfsg-1~deb11u5 | fixed |
| bookworm | 18.19.0+dfsg-6~deb12u2 | fixed |
| bookworm (security) | 18.19.0+dfsg-6~deb12u1 | fixed |
| trixie | 20.18.0+dfsg-2 | fixed |
| sid | 20.18.1+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
nodejs | source | jessie | (unfixed) | end-of-life | | |
nodejs | source | stretch | (unfixed) | end-of-life | | |
nodejs | source | buster | (not affected) | | | |
nodejs | source | bullseye | 12.22.12~dfsg-1~deb11u1 | | DSA-5170-1 | |
nodejs | source | (unstable) | 12.22.7~dfsg-1 | | | |
Notes
[buster] - nodejs <not-affected> (llhttp dependency/embedding introduced in 12.x)
[stretch] - nodejs <end-of-life> (Nodejs in stretch not covered by security support)
https://hackerone.com/reports/1238099
https://github.com/nodejs/node/commit/657fb9a77ca36f729da484f55899dad7a13759b0 (v14.x)
https://github.com/nodejs/node/commit/21a2e554e3eaa325abbdb28f366928d0ccc0a0f0 (v12.22.7)
https://nodejs.org/en/blog/vulnerability/oct-2021-security-releases/#http-request-smuggling-when-parsing-the-body-medium-cve-2021-22960