VDB

CVE-2021-22959

CVE-2021-22959 PUBLISHED CVSS 6.5 MEDIUM

Reported by hackerone · Published November 15, 2021

llhttp is fixed in 6.0.6 and 2.1.4 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
llhttpnpm6.0.6, 2.1.4
nodejs-currentAlpine16.11.1-r0
nodejs-full-i18nAmazon Linux1:18.12.1-1.amzn2023.0.2
v8-develAmazon Linux2:10.2.154.15-1.18.12.1.1.amzn2023.0.2
nodejsAlpine14.18.1-r0, 12.22.10-r0
nodejs-develAmazon Linux1:18.12.1-1.amzn2023.0.2
nodejs-docsAmazon Linux1:18.12.1-1.amzn2023.0.2
nodejs-libsAmazon Linux1:18.12.1-1.amzn2023.0.2
nodejsArch Linux16.11.1-1
nodejsAmazon Linux1:18.12.1-1.amzn2023.0.2
nodedhi.docker.com16.11.1, 14.18.1, 12.22.7
npmAmazon Linux1:8.19.2-1.18.12.1.1.amzn2023.0.2

8 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
NodeJSNode10.0, 12.0, 11.0
alpinenodejs-current0
amazon:2023nodejs-full-i18n0
amazon:2023v8-devel0
alpinenodejs0, 0
wolfiruby3.2-llhttp*
amazon:2023nodejs-devel0
amazon:2023nodejs-docs0
chainguardruby3.2-llhttp*
amazon:2023nodejs-libs0
archnodejs0
amazon:2023nodejs0
amazon:2023npm0
npmllhttp3.0.0, 0

Timeline

  • Oct 20, 2021 PoC Published
  • Nov 15, 2021 CVE Published
  • Nov 16, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (47 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch (38 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22959
vulnetix vdb fixes CVE-2021-22959

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22959/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›