Packages / http-proxy-middleware / Security
Denial of service in http-proxy-middleware
Affected releases · http-proxy-middleware
- 3.x3.0.0 – 3.0.2Fixed in 3.0.3
- 2.x2.0.0 – 2.0.6Fixed in 2.0.7
- 1.x and older0.0.1 – 1.3.1No fix, no longer updated
On 3.x, the newest line:
npm install http-proxy-middleware@3.0.3Every release on a timeline
Not affected
4.0.0 – 4.2.2
6 releases, latest
Affected
3.0.0 – 3.0.2
3 releases
Fixed
3.0.3 – 3.0.11
7 releases
Affected
2.0.0 – 2.0.6
7 releases
Fixed
2.0.7 – 2.0.12
6 releases
Affected
1.0.0 – 1.3.1
14 releases
Affected
0.0.1 – 0.21.0
39 releases
What happens
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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.