Vulnerability
CVE-2024-21536
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.
28 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-4phf-8r5j-89v8
- CGA-4xfm-2jgw-5c2c
- CGA-62px-7q4f-mr78
- CGA-663g-c958-55xw
- CGA-6v7q-j535-gqrg
- CGA-73xg-x24r-cjpw
- CGA-85q5-rj23-vppv
- CGA-947j-q6q5-v2cr
- CGA-9crr-mj99-33gx
- CGA-f4vp-cmr5-9h33
- CGA-f734-f7vv-6r26
- CGA-gr69-h96p-hvhv
- CGA-hwwg-wfh4-55g6
- CGA-j6vv-vx22-qf48
- CGA-mpwj-mwxf-99xw
- CGA-p4rf-qgq2-wcx9
- CGA-p9pj-hfgv-73v7
- CGA-ph84-588c-qjh9
- CGA-q9vw-v845-mqv2
- CGA-qj2v-389m-7j65
- CGA-qjr9-h6fp-96cp
- CGA-r3r2-m472-6w6f
- CGA-rxjc-2fp8-4j2r
- CGA-vj8h-82r5-6g8r
- CGA-vv5v-9q7f-ghgr
- CGA-xmj2-7fmf-f6x3
-
GHSA-c7qv-q95q-8v27
Denial of service in http-proxy-middleware
-
RHVEX-CVE-2024-21536
http-proxy-middleware: http-proxy-middleware: Denial of Service via unhandled error during path matching
References
- https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a
- https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5
- https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8309098
- https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906