What’s Vulnerable › Vulnerabilities

CVE-2024-22019

Description

A vulnerability in Node.js HTTP servers allows an attacker to send a specially crafted HTTP request with chunked encoding, leading to resource exhaustion and denial of service (DoS). The server reads an unbounded number of bytes from a single connection, exploiting the lack of limitations on chunk extension bytes. The issue can cause CPU and network bandwidth exhaustion, bypassing standard safeguards like timeouts and body size limits.

Affected products

How to fix

Upgrade to a fixed version: Node.js 18.19.1, 20.11.1, 21.6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-22019 or the next vulnerability affects your stack