Packages / http-proxy-middleware / Security

HighVulnerabilityGHSA-c7qv-q95q-8v27CVE-2024-21536Published 19 Oct 2024

Denial of service in http-proxy-middleware

Your version

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.3
Every release on a timeline
4.x
  1. Not affected

    4.0.0 – 4.2.2

    6 releases, latest

3.x
  1. Affected

    3.0.0 – 3.0.2

    3 releases

  2. Fixed

    3.0.3 – 3.0.11

    7 releases

2.x
  1. Affected

    2.0.0 – 2.0.6

    7 releases

  2. Fixed

    2.0.7 – 2.0.12

    6 releases

1.x
  1. Affected

    1.0.0 – 1.3.1

    14 releases

0.x
  1. Affected

    0.0.1 – 0.21.0

    39 releases

82 stable releases of http-proxy-middleware, oldest to newest, one row per major.

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.