Skip to content

Commit 95e2153

Browse files
chore(release): 6.4.2
Diff: 6.4.1...6.4.2
1 parent fc480b4 commit 95e2153

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 2023
44

5+
- [6.4.2](#642-2023-05-02) (May 2023)
56
- [6.4.1](#641-2023-02-20) (Feb 2023)
67
- [6.4.0](#640-2023-02-06) (Feb 2023)
78
- [6.3.1](#631-2023-01-12) (Jan 2023)
@@ -46,6 +47,39 @@
4647

4748
# Release notes
4849

50+
## [6.4.2](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2) (2023-05-02)
51+
52+
:warning: This release contains an important security fix :warning:
53+
54+
A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:
55+
56+
```
57+
TypeError: Cannot read properties of undefined (reading 'handlesUpgrades')
58+
at Server.onWebSocket (build/server.js:515:67)
59+
```
60+
61+
Please upgrade as soon as possible.
62+
63+
64+
### Bug Fixes
65+
66+
* include error handling for Express middlewares ([#674](https://github.com/socketio/engine.io/issues/674)) ([9395782](https://github.com/socketio/engine.io/commit/93957828be1252c83275b56f0c7c0bd145a0ceb9))
67+
* prevent crash when provided with an invalid query param ([fc480b4](https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44))
68+
* **typings:** make clientsCount public ([#675](https://github.com/socketio/engine.io/issues/675)) ([bd6d471](https://github.com/socketio/engine.io/commit/bd6d4713b02ff646c581872cd9ffe753acff0d73))
69+
* **uws:** prevent crash when using with middlewares ([8b22162](https://github.com/socketio/engine.io/commit/8b2216290330b174c9e67be32765bec0c74769f9))
70+
71+
72+
### Credits
73+
74+
Huge thanks to [@tyilo](https://github.com/tyilo) and [@cieldeville](https://github.com/cieldeville) for helping!
75+
76+
77+
### Dependencies
78+
79+
- [`ws@~8.11.0`](https://github.com/websockets/ws/releases/tag/8.11.0) (no change)
80+
81+
82+
4983
## [6.4.1](https://github.com/socketio/engine.io/compare/6.4.0...6.4.1) (2023-02-20)
5084

5185
This release contains [6e78489](https://github.com/socketio/engine.io/commit/6e78489486f0d7570861fd6002a364d1ab87da4a), which exports the `BaseServer` class in order to restore the compatibility with the `nodenext` module resolution strategy of TypeScript.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "engine.io",
3-
"version": "6.4.1",
3+
"version": "6.4.2",
44
"description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server",
55
"type": "commonjs",
66
"main": "./build/engine.io.js",

0 commit comments

Comments
 (0)