Skip to main content

http-proxy-middleware CVE-2024-21536

HIGH
Uncontrolled Resource Consumption (CWE-400)
2024-10-19 report@snyk.io
7.7
CVSS 4.0 · Vendor: snyk
Share

Severity by source

Vendor (snyk) PRIMARY
7.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.5 HIGH

Network-reachable, no auth, no interaction needed; only availability is impacted as the process crashes but no data is accessed or modified.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (snyk).

CVSS VectorVendor: snyk

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

5
Source Code Evidence Fetched
Aug 01, 2026 - 16:28 vuln.today
Analysis Updated
Aug 01, 2026 - 16:28 vuln.today
v1 (cvss_changed)
Re-analysis Queued
Aug 01, 2026 - 16:22 vuln.today
cvss_changed
CVSS changed
Aug 01, 2026 - 16:22 NVD
7.5 (HIGH) 7.7 (HIGH)
CVE Published
Oct 19, 2024 - 05:15 nvd
HIGH 7.5

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 60 npm packages depend on http-proxy-middleware (13 direct, 47 indirect)

Ecosystem-wide dependent count for version 3.0.0.

DescriptionCVE.org

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.

AnalysisAI

Denial of service in http-proxy-middleware allows unauthenticated remote attackers to crash the Node.js process by sending HTTP requests to specific paths that trigger an unhandled Promise rejection in the underlying micromatch path-matching library. Affected versions span the 2.x line (before 2.0.7) and the 3.x line (3.0.0 through before 3.0.3). A publicly available proof-of-concept exploit exists, and the CVSS 4.0 vector confirms full availability impact with no privileges or user interaction required, making this straightforward to weaponize against any exposed Node.js service using the middleware.

Technical ContextAI

http-proxy-middleware (CPE: cpe:2.3:a:chimurai:http-proxy-middleware) is a widely-used Node.js middleware that proxies HTTP requests based on path filter rules, relying on the micromatch library for glob-pattern matching. The root cause (CWE-400: Uncontrolled Resource Consumption) is a missing error boundary around the context-matching call: when micromatch throws synchronously on certain path inputs, the error escapes as an unhandled Promise rejection. In Node.js, uncaught Promise rejections can terminate the entire process (behavior enforced by default since Node.js 15). The fix, visible in commit 0b4274e, wraps the contextMatcher.match() call in a try-catch, logging the error and returning false rather than allowing the exception to propagate. The vulnerable code path is in src/http-proxy-middleware.ts in the shouldProxy() method.

RemediationAI

Upgrade http-proxy-middleware to version 2.0.7 or later on the 2.x branch, or to 3.0.3 or later on the 3.x branch. The upstream fix is confirmed in commits 0b4274e and 788b21e4 on the chimurai/http-proxy-middleware GitHub repository. As a compensating control where immediate upgrade is not feasible, restrict access to the proxied service at the network or load-balancer layer so that arbitrary path inputs cannot reach the Node.js process. Additionally, configuring a process manager (such as PM2 or systemd) with automatic restart on crash reduces availability impact but does not eliminate the vulnerability. Note that auto-restart mitigates downtime but still permits repeated denial-of-service loops by a persistent attacker. No known configuration-level workaround removes the underlying flaw without patching.

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

CVE-2016-2107 MEDIUM POC
5.9 May 05

The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a

Share

CVE-2024-21536 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy