Denial of Service in http-proxy

http-proxy Updated 02 Oct 2025

Summary

04/09/2020
HIGH
Yes i
High
7.5

GHSA-6x33-pw7p-hmpq: Denial of Service in http-proxy. Affects http-proxy versions < 1.18.1. Fixed in 1.18.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The http-proxy package is an npm package that provides a proxy server for HTTP requests. It allows users to create a proxy server that forwards requests to another server. This package is commonly used in web development to handle routing and load balancing. However, versions prior to 1.18.1 are vulnerable to a Denial of Service (DoS) attack.

Vulnerability Detail

The vulnerability in http-proxy versions prior to 1.18.1 allows an attacker to trigger a DoS attack by sending an HTTP request with a long body. This request triggers an unhandled exception (ERR_HTTP_HEADERS_SENT) that crashes the proxy server. The vulnerability can only be exploited if the proxy server sets headers in the proxy request using the proxyReq.setHeader function. An attacker can exploit this vulnerability by sending a crafted request to the proxy server. The impact of this vulnerability is a complete denial of service, rendering the proxy server unavailable.

How To Fix

Minimum fixed version

1.18.1

This is the first release that contains the fix.

npm install http-proxy@1.18.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. Upgrading to the fixed version is the only solution.

Conclusion

The http-proxy package prior to version 1.18.1 is vulnerable to a Denial of Service attack. To mitigate this vulnerability, it is crucial to upgrade to version 1.18.1 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for http-proxy →

Share this vulnerability

FAQ

The http-proxy package is used to create a proxy server for handling HTTP requests. It is commonly used in web development for routing and load balancing.

A Denial of Service (DoS) attack is an attempt to make a computer or network resource unavailable to its intended users. In this case, the DoS attack is triggered by sending a crafted HTTP request with a long body, causing the proxy server to crash and become unavailable.

An attacker can exploit this vulnerability by sending a specially crafted HTTP request with a long body to the proxy server. This triggers an unhandled exception that crashes the server, resulting in a denial of service.

The impact of this vulnerability is a complete denial of service. The proxy server becomes unavailable, rendering it unable to handle any further requests.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is the only solution.

Related vulnerabilities

Recent vulnerabilities recorded for http-proxy.

How To Fix

Minimum fixed version

1.18.1

This is the first release that contains the fix.

npm install http-proxy@1.18.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback