This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade socket.io from 2.5.0 to 4.5.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
*Warning:* This is a major version upgrade, and may be a breaking change.
- The recommended version is **30 versions** ahead of your current version.
- The recommended version was released **a month ago**, on 2022-10-15.
The recommended version fixes:
Severity | Issue | PriorityScore (*) | Exploit Maturity |
:-------------------------:|:-------------------------|-------------------------|:-------------------------
| Denial of Service (DoS) [SNYK-JS-ENGINEIO-1056749](https://snyk.io/vuln/SNYK-JS-ENGINEIO-1056749) | **696/1000** **Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Proof of Concept
(*) Note that the real score may have changed since the PR was raised.
Release notes Package name: socket.io
add the "maxPayload" field in the handshake details (088dcb4)
So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize
value.
This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as
we only add a field in the JSON-encoded handshake data:
only set 'connected' to true after middleware execution (02b0f73)
Features
add an implementation based on uWebSockets.js (c0d8c5a)
const{ App }=require("uWebSockets.js");const{ Server }=require("socket.io");constapp=newApp();constio=newServer();io.attachApp(app);io.on("connection",(socket)=>{// ...});app.listen(3000,(token)=>{if(!token){console.warn("port already in use");}});
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade socket.io from 2.5.0 to 4.5.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.*Warning:* This is a major version upgrade, and may be a breaking change. - The recommended version is **30 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2022-10-15. The recommended version fixes: Severity | Issue | PriorityScore (*) | Exploit Maturity | :-------------------------:|:-------------------------|-------------------------|:------------------------- | Denial of Service (DoS)
[SNYK-JS-ENGINEIO-1056749](https://snyk.io/vuln/SNYK-JS-ENGINEIO-1056749) | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: socket.io
Bug Fixes
Links:
~6.2.0
~8.2.3
Bug Fixes
Links:
~6.2.0
~8.2.3
Bug Fixes
Links:
~6.2.0
~8.2.3
Bug Fixes
Features
This is similar to
onAny()
, but for outgoing packets.Syntax:
Syntax:
So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize
value.
This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as
we only add a field in the JSON-encoded handshake data:
Links:
~6.2.0
(diff)~8.2.3
Bug Fixes
RemoteSocket.data
type safe (#4234) (770ee59)SocketData
type to custom namespaces (#4233) (f2b8de7)Links:
~6.1.0
(diff)~8.2.3
Bug Fixes
Features
socket.data
(#4159) (fe8730c)Links:
~6.1.0
(diff)~8.2.3
Bug Fixes
Links:
~6.0.0
~8.2.3
Bug Fixes
Links:
~6.0.0
~8.2.3
The default value of the
maxHttpBufferSize
option has been decreased from 100 MB to 1 MB, in order to prevent attacks by denial of service.Security advisory: GHSA-j4f2-536g-r55m
Bug Fixes
Links:
~3.6.0
(diff)~7.4.2
Commit messages
Package name: socket.io
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs