CVE-2024-21536
Chimurai Http-proxy-middleware vulnerability
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
Http-proxy-middleware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Chimurai Http-proxy-middleware runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5 · Patch
- github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22 · Patch
- gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a · Exploit
- security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-21536
- github.com/advisories/GHSA-c7qv-q95q-8v27
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8309098
- nvd.nist.gov/vuln/detail/CVE-2024-21536
- cve.org/CVERecord?id=CVE-2024-21536
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.