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…
CVE-2024-21536Published 19 Oct 2024, 05:00 UTC
Real-world risk
3.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from snyk)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| http-proxy-middlewareNiche | < 2.0.7; >= 3.0.0, < 3.0.3 | 2.0.7, 3.0.3 |
| http-proxy-middlewareNiche | < 2.0.7; >= 3.0.0, < 3.0.3 | 2.0.7, 3.0.3 |
| org.webjars.npm:http-proxy-middlewareNiche | < * | — |
What to do
Update to a fixed version: 2.0.7, 3.0.3.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- CISA SSVC: proof of concept
EPSS 1.0% chance of exploitation in 30 days (percentile 65), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 1 × threat 0.953.800
- Rounded to one decimal between 0.1 and 103.8
Exploitation and evidence timeline
- 19 Oct 2024 Published
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.8 (cvss fallback)
Weakness
CWE-400
References
- https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8309098
- https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a
- https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22
- https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5
- CVE-2024-21536 on CVE.org