---
id: CVE-2024-21536
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
vendor: chimurai
product: http-proxy-middleware
affected:
  - http-proxy-middleware < 2.0.7
  - 'http-proxy-middleware >= 3.0.0, < 3.0.3'
patched:
  - http-proxy-middleware 3.0.3
published: '2024-10-19'
updated: '2026-08-01'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-21536'
references:
  - url: 'https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a'
    label: report@snyk.io
  - url: >-
      https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5
    label: report@snyk.io
  - url: >-
      https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8309098'
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906'
    label: report@snyk.io
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21536.json
  - url: 'https://access.redhat.com/security/cve/CVE-2024-21536'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2319884'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2024-21536'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-21536'
  - url: 'https://access.redhat.com/errata/RHSA-2025:3928'
  - url: 'https://access.redhat.com/errata/RHSA-2025:3929'
  - url: 'https://access.redhat.com/errata/RHSA-2025:3930'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8510'
  - url: 'https://access.redhat.com/errata/RHSA-2024:9627'
  - url: 'https://access.redhat.com/errata/RHBA-2024:9054'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8551'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8544'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8479'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8059'
  - url: 'https://access.redhat.com/errata/RHSA-2025:4511'
  - url: 'https://access.redhat.com/errata/RHSA-2025:1249'
  - url: 'https://access.redhat.com/errata/RHBA-2024:11265'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8512'
  - url: 'https://access.redhat.com/errata/RHSA-2025:9294'
  - url: 'https://access.redhat.com/errata/RHSA-2025:8233'
  - url: 'https://access.redhat.com/errata/RHSA-2025:10853'
  - url: 'https://access.redhat.com/errata/RHSA-2024:10917'
  - url: 'https://access.redhat.com/errata/RHSA-2024:10962'
  - url: 'https://access.redhat.com/errata/RHSA-2024:11256'
  - url: 'https://access.redhat.com/errata/RHSA-2024:11255'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.01034
epssPercentile: 0.62359
ingestedAt: '2026-08-01T17:13:12.775Z'
---

## Overview

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

- `http-proxy-middleware < 2.0.7`
- `http-proxy-middleware >= 3.0.0, < 3.0.3`

## Remediation

Upgrade past the affected range:

- `http-proxy-middleware 3.0.3`

## Vendor advisories

- **RHSA-2025:3928** · Red Hat · fixed in: RHACS 4.5 for RHEL 8 · released 2025-04-15 · [advisory](https://access.redhat.com/errata/RHSA-2025:3928)
- **RHSA-2025:3929** · Red Hat · fixed in: RHACS 4.6 for RHEL 8 · released 2025-04-15 · [advisory](https://access.redhat.com/errata/RHSA-2025:3929)
- **RHSA-2025:3930** · Red Hat · fixed in: RHACS 4.7 for RHEL 8 · released 2025-04-15 · [advisory](https://access.redhat.com/errata/RHSA-2025:3930)
- **RHSA-2025:8510** · Red Hat · fixed in: 8Base-RHMTC-1.8 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8510)
- **RHSA-2024:9627** · Red Hat · fixed in: RHOSSM 2.6 for RHEL 8, RHOSSM 2.6 for RHEL 9 · released 2024-11-14 · [advisory](https://access.redhat.com/errata/RHSA-2024:9627)
- **RHBA-2024:9054** · Red Hat · fixed in: Red Hat Developer Hub 1.3 for RHEL 9 · released 2024-11-11 · [advisory](https://access.redhat.com/errata/RHBA-2024:9054)
- **RHSA-2025:8551** · Red Hat · fixed in: RHODF 4.14 for RHEL 9 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8551)
- **RHSA-2025:8544** · Red Hat · fixed in: RHODF 4.15 for RHEL 9 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8544)
- **RHSA-2025:8479** · Red Hat · fixed in: RHODF 4.16 for RHEL 9 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8479)
- **RHSA-2025:8059** · Red Hat · fixed in: RHODF 4.17 for RHEL 9 · released 2025-05-21 · [advisory](https://access.redhat.com/errata/RHSA-2025:8059)
- **RHSA-2025:4511** · Red Hat · fixed in: RHODF 4.18 for RHEL 9 · released 2025-05-06 · [advisory](https://access.redhat.com/errata/RHSA-2025:4511)
- **Red Hat VEX** · Moderate · affected: Cryostat 3, Logging Subsystem for Red Hat OpenShift, Migration Toolkit for Applications 7, Node HealthCheck Operator, OpenShift Pipelines, OpenShift Service Mesh 2, … · no fix planned: Logging Subsystem for Red Hat OpenShift, Migration Toolkit for Applications 7, Node HealthCheck Operator, OpenShift Pipelines, … · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21536.json)
