🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6)
Workarounds
In vulnerable versions of ws, the issue can be mitigated in the following ways:
Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent.
Set server.maxHeadersCount to 0 so that no limit is applied.
The opening handshake is now aborted if the client receives a Sec-WebSocket-Extensions header but no extension was requested or if the
server indicates an extension not requested by the client (aca94c8).
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ ws (7.4.6 → 7.5.10) · Repo
Security Advisories 🚨
🚨 ws affected by a DoS when handling a request with many HTTP headers
Release Notes
7.5.10
7.5.8
7.5.7
7.5.6
7.5.5
7.5.4
7.5.3
7.5.2
7.5.1
7.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 48 commits:
[dist] 7.5.10
[security] Fix crash when the Upgrade header cannot be read (#2231)
[dist] 7.5.9
[security] Fix same host check for ws+unix: redirects
[dist] 7.5.8
[security] Drop sensitive headers when following insecure redirects
[fix] Abort the handshake if the Upgrade header is invalid
[dist] 7.5.7
[security] Drop sensitive headers when following redirects (#2013)
[dist] 7.5.6
[fix] Resume the socket in the `CLOSING` state
[fix] Do not throw if the redirect URL is invalid
[dist] 7.5.5
[doc] Change label text to CI
[ci] Use Github Actions for Windows x86 testing
[pkg] Update eslint-plugin-prettier to version 4.0.0
[minor] Skip unnecessary operations if the socket is already closed
[dist] 7.5.4
[fix] Resume the socket in the next tick
[fix] Do not rely on undocumented behavior
[dist] 7.5.3
[fix] Abort the handshake if the server is closing or closed
[fix] Emit the `'close'` event after the server is closed
[minor] Fix typo
[fix] Make the `{noS,s}erver`, and `port` options mutually exclusive
[minor] Improve JSDoc-inferred types (#1912)
[dist] 7.5.2
[fix] Abort the handshake if an unexpected extension is received
[dist] 7.5.1
[test] Add more tests for `WebSocket.prototype.close()`
[fix] Fix close edge cases
[minor] Fix misleading comment
[test] Fix repeated typo
[dist] 7.5.0
[doc] Fix anchor tags for error codes
[doc] Fix typo
[doc] Sort error codes alphabetically
[minor] Attach error codes to all receiver errors (#1901)
[fix] Don't call `ws.terminate()` unconditionally in `duplex._destroy()`
[fix] Close the connection cleanly when an error occurs
[doc] Fix broken link (#1897)
[doc] Remove unsafe regex from code snippet
[doc] Add logo to coverage badge
[test] Fix nit
[test] Rename certificates and private keys files
[security] Update link to point to published security advisories
[test] Update certificates and private keys
[security] Add ReDoS vulnerability to SECURITY.md
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands