VDB
Sign up
HIGH7.5

GHSA-c7qv-q95q-8v27

Denial of service in http-proxy-middleware

Quick fix

GHSA-c7qv-q95q-8v27 — http-proxy-middleware: upgrade to the fixed version with the command below.

npm install http-proxy-middleware@2.0.7

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/http-proxy-middleware
Introduced in: 0Fixed in: 2.0.7
Fixnpm install http-proxy-middleware@2.0.7
npm/http-proxy-middleware
Introduced in: 3.0.0Fixed in: 3.0.3
Fixnpm install http-proxy-middleware@3.0.3

References