CVE-2021-22959
npm vulnerability analysis and mitigation

Overview

CVE-2021-22959 is a vulnerability discovered in the llhttp parser that affects versions prior to v2.1.4 and v6.0.6. The vulnerability occurs when the parser accepts requests with a space (SP) right after the header name before the colon, which can lead to HTTP Request Smuggling (HRS) (Node.js Blog).

Technical details

The vulnerability is related to the HTTP parser's handling of header fields, specifically when there is a space character immediately following the header name before the colon. This implementation flaw can result in HTTP Request Smuggling, which is categorized under CWE-444 (Inconsistent Interpretation of HTTP Requests). The vulnerability has been assigned a CVSS v3.1 Base Score of 6.5 (MEDIUM) with the vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (NVD).

Impact

The vulnerability could allow attackers to perform HTTP Request Smuggling attacks, potentially leading to unauthorized information disclosure and integrity violations. The CVSS scoring indicates that the vulnerability can result in low-level confidentiality and integrity impacts, with no availability impact (NVD).

Mitigation and workarounds

The vulnerability has been fixed in llhttp versions v2.1.4 and v6.0.6. Users are advised to upgrade to these or later versions. Various distributions have also released patches, including Debian which addressed this in DSA-5170-1 (Debian Security).

Additional resources


SourceThis report was generated using AI

Related npm vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64756HIGH7.5
  • JavaScriptJavaScript
  • nodejs:22::npm
NoYesNov 17, 2025
CVE-2025-6965HIGH7.2
  • SQLiteSQLite
  • rust-analyzer
NoYesJul 15, 2025
CVE-2025-7458MEDIUM6.9
  • SQLiteSQLite
  • nodejs:22::v8-12.4-devel
NoYesJul 29, 2025
CVE-2025-64118MEDIUM6.1
  • JavaScriptJavaScript
  • kibana-9.2
NoYesOct 30, 2025
CVE-2025-52099N/AN/A
  • SQLiteSQLite
  • mingw32-sqlite-static
NoYesOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management