OriginProtocol / origin

Monorepo for our developer tools and decentralized marketplace application
https://www.originprotocol.com/developers
MIT License
652 stars 196 forks source link

Update dependency http-proxy to v1.18.1 [SECURITY] #4629

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
http-proxy 1.18.0 -> 1.18.1 age adoption passing confidence

GitHub Vulnerability Alerts

GHSA-6x33-pw7p-hmpq

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:
curl -XPOST http://localhost:3000 -d "$(python -c 'print("x"*1025)')"

Recommendation

Upgrade to version 1.18.1 or later


Release Notes

http-party/node-http-proxy ### [`v1.18.1`](https://togithub.com/http-party/node-http-proxy/blob/HEAD/CHANGELOG.md#v1181-httpsgithubcomhttp-partynode-http-proxycompare1180v1181---2020-05-17) [Compare Source](https://togithub.com/http-party/node-http-proxy/compare/1.18.0...1.18.1) ##### Merged - Skip sending the proxyReq event when the expect header is present [`#1447`](https://togithub.com/http-party/node-http-proxy/pull/1447) - Remove node6 support, add node12 to build [`#1397`](https://togithub.com/http-party/node-http-proxy/pull/1397)

Configuration

📅 Schedule: "" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.