# CVE-2024-21536: Denial of service in http-proxy-middleware

- Severity: High 8.7 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-19T05:00:04.056Z
- Modified: 2026-09-10T03:50:19.674Z
- Also known as: GHSA-c7qv-q95q-8v27
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- http-proxy-middleware: before 2.0.7; from 3.0.0 before 3.0.3
- org.webjars.npm:http-proxy-middleware: before *
- chimurai http-proxy-middleware: before 2.0.7; from 3.0.0 before 3.0.3
- http-proxy-middleware (npm): before 2.0.7; from 3.0.0 before 3.0.3

## Every score

- snyk: CVSS:4.0 8.7 High `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`
- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a> (exploit, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906> (third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8309098>
- <https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22> (patch, web)
- <https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21536> (advisory)
- <https://github.com/chimurai/http-proxy-middleware> (package)

## Sources

- CVE List: [CVE-2024-21536](https://www.cve.org/CVERecord?id=CVE-2024-21536), CVE Terms of Use, modified 2026-08-02
- GitHub Advisory Database: [GHSA-c7qv-q95q-8v27](https://github.com/advisories/GHSA-c7qv-q95q-8v27), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21536](https://nvd.nist.gov/vuln/detail/CVE-2024-21536), Public domain, modified 2026-08-01

---

Page: https://cve.day/CVE-2024-21536 · Whole record: https://cve.day/CVE-2024-21536.json · Rebuilt by cve.day 2026-11-25T22:58:46.925Z
