CVE-2024-21536
published high CVSS 4.0 · 8.7http-proxy-middleware: Denial of Service via unhandled error during path matching
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | http-proxy-middleware0 to < 2.0.7 · 3.0.0 to < 3.0.3 | Affected | Not stated | snyk |
| n/a | — | org.webjars.npm:http-proxy-middleware0 and later | Affected | Not stated | snyk |
| chimurai | — | http-proxy-middleware0 to < 2.0.7 · 3.0.0 to < 3.0.3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | snyk · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | http-proxy-middleware | 0 to < 2.0.7 (affected · semver)3.0.0 to < 3.0.3 (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:http-proxy-middleware | 0 and later (affected · semver) | snyk · cna |
| chimurai | http-proxy-middleware | 0 to < 2.0.7 (affected · semver)3.0.0 to < 3.0.3 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-400 Denial of Service (DoS)
References
5- 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
Provider assertions
2snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ee9da9248f99e38ce09ecfbf0b876f8a0a664ffd5fc74d407f87619c7826a2f5
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record