What’s Vulnerable › Vulnerabilities

CVE-2024-21536: Denial of service in http-proxy-middleware

Description

Versions of the package http-proxy-middleware before 2.0.7, from 3.0.0 and before 3.0.3 are vulnerable to Denial of Service (DoS) due to an UnhandledPromiseRejection error thrown by micromatch. An attacker could kill the Node.js process and crash the server by making requests to certain paths.

Affected products

How to fix

Upgrade to a fixed version: chimurai http-proxy-middleware 2.0.7, 3.0.3; Npm Http-Proxy-Middleware 2.0.7, 3.0.3. Check the vendor advisory for mitigations.

References

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