fix(deps): update dependency ws to v6 [security] - autoclosed #156
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.2.2
->^6.0.0
GitHub Vulnerability Alerts
CVE-2021-32640
Impact
A specially crafted value of the
Sec-Websocket-Protocol
header can be used to significantly slow down a ws server.Proof of concept
Patches
The vulnerability was fixed in [email protected] (websockets/ws@00c425e) and backported to [email protected] (websockets/ws@78c676d).
Workarounds
In vulnerable versions of ws, the issue can be mitigated by reducing the maximum allowed length of the request headers using the
--max-http-header-size=size
and/or themaxHeaderSize
options.Credits
The vulnerability was responsibly disclosed along with a fix in private by Robert McLaughlin from University of California, Santa Barbara.
References
Release Notes
websockets/ws
v6.2.2
Compare Source
v6.2.1
Compare Source
Bug fixes
being set (
aa1dcd5
).v6.2.0
Compare Source
Features
Bug fixes
Sec-WebSocket-Key
header fieldvalue is invalid (
160af45
).v6.1.4
Compare Source
Bug fixes
Host
header to always include a port (#1510).v6.1.3
Compare Source
Bug fixes
being parsed (#1494).
v6.1.2
Compare Source
Bug fixes
26436e0
).v6.1.1
Compare Source
Bug fixes
and the socket closes prematurely (#1464, #1471).
v6.1.0
Compare Source
Features
'close'
event when the servercloses (#1453).
v6.0.0
Compare Source
Breaking changes
d73885c
).browser (#1345).
maxPayload
option on the client. Defaults to 100 MiB (#1402).memLevel
andlevel
options. UsezlibDeflateOptions
instead. (80e2002
).Configuration
📅 Schedule: "" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.