GitHub Advisoryadvisory · npm
GHSA-c7qv-q95q-8v27 Denial of service in http-proxy-middleware
HIGH
Official page ↗
- Aliases
- CVE-2024-21536
- Ecosystem
- npm
- Packages
- http-proxy-middleware
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2024-10-22
Affected packages
• npm http-proxy-middleware: < 2.0.7 → fixed in 2.0.7
• npm http-proxy-middleware: >= 3.0.0, < 3.0.3 → fixed in 3.0.3
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
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21536 advisory
- https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5 web
- https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22 web
- https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a web
- https://github.com/chimurai/http-proxy-middleware package
- https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906 web