---
title: "GHSA-c7qv-q95q-8v27: Denial of service in http-proxy-middleware"
description: "High severity. Denial of service in http-proxy-middleware. Affects http-proxy-middleware; fixed in 3.0.3."
url: https://inlinr.com/advisories/GHSA-c7qv-q95q-8v27
lang: en
---

[Packages](https://inlinr.com/packages) / [http-proxy-middleware](https://inlinr.com/packages/http-proxy-middleware) / [Security](https://inlinr.com/packages/http-proxy-middleware/security)

High Vulnerability GHSA-c7qv-q95q-8v27 CVE-2024-21536 Published 19 Oct 2024

# Denial of service in http-proxy-middleware

Your version 

Affected releases · [http-proxy-middleware](https://inlinr.com/packages/http-proxy-middleware)

- 3.x 3.0.0 – 3.0.2 Fixed in 3.0.3
- 2.x 2.0.0 – 2.0.6 Fixed in 2.0.7
- 1.x and older 0.0.1 – 1.3.1 No 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.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: high

CVSS:3.1/​AV:N/​AC:L/​PR:N/​UI:N/​S:U/​C:N/​I:N/​A:H

## References

- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-21536 "https://nvd.nist.gov/vuln/detail/CVE-2024-21536")  
nvd.nist.gov/vuln/detail/CVE-2024-21536
- [Fix commit](https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5 "https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5")  
0b4274e
- [Fix commit](https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22 "https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22")  
788b21e
- [Reference](https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a "https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a")  
gist.github.com/mhassan1/28be67266d82a53708ed59…
- [Package](https://github.com/chimurai/http-proxy-middleware "https://github.com/chimurai/http-proxy-middleware")  
github.com/chimurai/http-proxy-middleware
- [Reference](https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906 "https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906")  
security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWA…

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
