Improper error handling in http-proxy-middleware - CVE-2024-21536

 

Improper error handling in http-proxy-middleware - CVE-2024-21536

Published: November 28, 2024


Vulnerability identifier: #VU101027
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-21536
CWE-ID: CWE-388
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Steven Chim
Affected software:
http-proxy-middleware

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an UnhandledPromiseRejection error thrown by micromatch. A remote non-authenticated attacker can send specially crafted request to the application and crash the Node.js process.


How to mitigate CVE-2024-21536

Install updates from vendor's website.

Sources