http-proxy
Affected
- introduced
0, fixed1.18.1(semver)
Fixed versions
1.18.1
Fix
- Fixed version
1.18.1npm install [email protected]
Advisory
Also known as: None
Denial of Service in http-proxy
Versions of http-proxy prior to 1.18.1 are vulnerable to Denial of Service. An HTTP request with a long body triggers an ERR_HTTP_HEADERS_SENT unhandled exception that crashes the proxy server. This is only possible when the proxy server sets headers in the proxy request using the proxyReq.setHeader function.
For a proxy server running on http://localhost:3000, the following curl request triggers the unhandled exception:
## Recommendation
Upgrade to version 1.18.1 or laterHigh Basis: The source's own band: HIGH
0, fixed 1.18.1 (semver)1.18.1
1.18.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0