Vulnerability · Published Oct 19, 2024 · Assigned by snyk

CVE-2024-21536

High 7.5

In plain English

A high-severity uncontrolled resource consumption in http-proxy-middleware. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.0%top 36.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmhttp-proxy-middleware2.0.7GHSA-c7qv-q95q-8v27
npmhttp-proxy-middleware3.0.3GHSA-c7qv-q95q-8v27

Affected products (as reported)

VendorProductVersions
n/a http-proxy-middleware 0 – before 2.0.73.0.0 – before 3.0.3
n/a org.webjars.npm:http-proxy-middleware 0 – before *

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P

References