CVE-2024-21536
HIGH 7.7CVSS 4.0Denial of service in http-proxy-middleware
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.
- Published
- 19 Oct 2024
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-c7qv-q95q-8v27
- Sources
- NVDJSONOSV GHSA-c7qv-q95q-8v27JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | HIGH 7.7 | 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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chimurai | http-proxy-middlewarecpe:2.3:a:chimurai:http-proxy-middleware:*:*:*:*:*:*:*:* |
< 2.0.7 | 2.0.7 |
| NVD | chimurai | http-proxy-middlewarecpe:2.3:a:chimurai:http-proxy-middleware:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.3 | 3.0.3 |
| OSV | npm | http-proxy-middleware | < 2.0.7 | 2.0.7 |
| OSV | npm | http-proxy-middleware | >= 3.0.0, < 3.0.3 | 3.0.3 |
References
- https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a · Exploit, Third Party Advisory, WEB
- https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5 · Patch, WEB
- https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22 · Patch, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8309098
- https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21536 · ADVISORY
- https://github.com/chimurai/http-proxy-middleware · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 19 Oct 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 Oct 2024)