http-proxy@1.16.0 vulnerabilities

HTTP proxying for the masses

Direct Vulnerabilities

Known vulnerabilities in the http-proxy package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Denial of Service (DoS)

http-proxy is a library that HTTP proxying for the masses.

Affected versions of this package are vulnerable to Denial of Service (DoS). HTTP requests with long bodies can crash the proxy sever via triggering an ERR_HTTP_HEADERS_SENT unhandled exception.

Note This vulnerability is only viable if proxy server uses the proxyReq.setHeader function to set headers in the proxy request.

How to fix Denial of Service (DoS)?

Upgrade http-proxy to version 1.18.1 or higher.

<1.18.1