-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency ws to v8 [security] #7595
Open
live-github-bot
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/npm-ws-vulnerability
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+8
−4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Skipped Deployments
|
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/ws@8.17.1 |
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:06
87f790d
to
a2e74a9
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:14
a2e74a9
to
b37c1c5
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:25
b37c1c5
to
3bc15be
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:34
3bc15be
to
2819415
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:42
2819415
to
412337d
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:48
412337d
to
63cba8c
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 22:55
63cba8c
to
944b294
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 14, 2024 23:01
944b294
to
689a0ce
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 15, 2024 22:05
689a0ce
to
da11ebc
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 15, 2024 22:14
da11ebc
to
4f03efb
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
August 15, 2024 22:25
4f03efb
to
dfc427a
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 22:15
db14563
to
e6920d8
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 22:26
e6920d8
to
8ff610f
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 22:36
8ff610f
to
373d719
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 22:44
373d719
to
089ea3f
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 22:50
089ea3f
to
11ff4f7
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 22:57
11ff4f7
to
0097a04
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 1, 2024 23:03
0097a04
to
8b482bb
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 2, 2024 22:05
8b482bb
to
f7810ae
Compare
live-github-bot
bot
changed the title
fix(deps): update dependency ws to v8.18.0 [security]
chore(deps): update dependency ws to v8 [security]
Oct 2, 2024
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 16, 2024 22:09
f7810ae
to
c0d7171
Compare
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 17, 2024 22:09
c0d7171
to
fe69ad6
Compare
live-github-bot
bot
changed the title
chore(deps): update dependency ws to v8 [security]
Update dependency ws to v8 [SECURITY]
Oct 17, 2024
live-github-bot
bot
changed the title
Update dependency ws to v8 [SECURITY]
chore(deps): update dependency ws to v8 [security]
Oct 18, 2024
live-github-bot
bot
force-pushed
the
renovate/npm-ws-vulnerability
branch
from
October 29, 2024 22:09
fe69ad6
to
6a4e17c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7
->8
GitHub Vulnerability Alerts
CVE-2024-37890
Impact
A request with a number of headers exceeding the
server.maxHeadersCount
threshold could be used to crash a ws server.Proof of concept
Patches
The vulnerability was fixed in ws@8.17.1 (websockets/ws@e55e510) and backported to ws@7.5.10 (websockets/ws@22c2876), ws@6.2.3 (websockets/ws@eeb76d3), and ws@5.2.4 (websockets/ws@4abd8f6)
Workarounds
In vulnerable versions of ws, the issue can be mitigated in the following ways:
--max-http-header-size=size
and/or themaxHeaderSize
options so that no more headers than theserver.maxHeadersCount
limit can be sent.server.maxHeadersCount
to0
so that no limit is applied.Credits
The vulnerability was reported by Ryan LaPointe in https://github.com/websockets/ws/issues/2230.
References
Release Notes
websockets/ws (ws)
v8.0.0
Compare Source
Breaking changes
The
WebSocket
constructor now throws aSyntaxError
if any of thesubprotocol names are invalid or duplicated (
0aecf0c
).The server now aborts the opening handshake if an invalid
Sec-WebSocket-Protocol
header field value is received (1877dde
).The
protocols
argument ofhandleProtocols
hook is no longer anArray
buta
Set
(1877dde
).The opening handshake is now aborted if the
Sec-WebSocket-Extensions
headerfield value is empty or it begins or ends with a white space (
e814110
).Dropped support for Node.js < 10.0.0 (
552b506
).The
WebSocket
constructor now throws aSyntaxError
if the connection URLcontains a fragment identifier or if the URL's protocol is not one of
'ws:'
,'wss:'
, or'ws+unix:'
(ebea038
).Text messages and close reasons are no longer decoded to strings. They are
passed as
Buffer
s to the listeners of their respective events. The listenersof the
'message'
event now take a boolean argument specifying whether or notthe message is binary (
e173423
).Existing code can be migrated by decoding the buffer explicitly.
The package now uses an ES module wrapper (
78adf5f
).WebSocketServer.prototype.close()
no longer closes existing connections(
df7de57
).Existing code can be migrated by closing the connections manually.
The callback of
WebSocketServer.prototype.close()
is now called with anerror if the server is already closed (
abde9cf
).WebSocket.prototype.addEventListener()
is now a noop if thetype
argumentis not one of
'close'
,'error'
,'message'
, or'open'
(9558ed1
).WebSocket.prototype.removeEventListener()
now only removes listeners addedwith
WebSocket.prototype.addEventListener()
and only one at time (ea95d9c
).The value of the
onclose
,onerror
,onmessage
, andonopen
properties isnow
null
if the respective event handler is not set (6756cf5
).The
OpenEvent
class has been removed (21e6500
).Bug fixes
event listeners added with
WebSocket.prototype.addEventListener()
(
0b21c03
).Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 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 Renovate Bot.