Skip to main content

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

CVE-2022-32213

Severity Medium
Score 6.5/10

Summary

The llhttp parser in the http module in Node.js 14.x prior to 14.20.1,16.x prior to 16.17.1, 18.x prior to v18.9.1 does not correctly parse and validate "Transfer-Encoding" headers and can lead to HTTP Request Smuggling (HRS). This vulnerability affects llhttp prior to 2.1.5 and 6.x prior to 6.0.7.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • NONE
  • LOW
  • NONE

CWE-444 - HTTP Request Smuggling

Entities such as web servers, web caching proxies, and application firewalls could parse HTTP requests differently. When there are two or more such entities in the path of an HTTP request, an attacker can send a specially crafted HTTP request that is seen as two different sets of requests by the attacked devices, allowing the attacker to smuggle a request into one device without the other device being aware of it. Such a vulnerability can prove devastating, for it enables further attacks on the application, like web cache poisoning, session hijacking, cross-site scripting, security bypassing, and sensitive information exposure.

Advisory Timeline

  • Published