GHSA-xfhh-g9f5-x4m4
Resource exhaustion in socket.io-parser
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | socket.io-parser | < 3.3.2 | 3.3.2 |
| npm | socket.io-parser | >= 3.4.0, < 3.4.1 | 3.4.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
The `socket.io-parser` npm package before versions 3.3.2 and 3.4.1 allows attackers to cause a denial of service (memory consumption) via a large packet because a concatenation approach is used.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-36049
- https://github.com/socketio/socket.io-parser/commit/dcb942d24db97162ad16a67c2a0cf30875342d55
- https://blog.caller.xyz/socketio-engineio-dos
- https://github.com/bcaller/kill-engine-io
- https://github.com/socketio/socket.io-parser/releases/tag/3.3.2
- https://github.com/socketio/socket.io-parser/releases/tag/3.4.1
- https://www.npmjs.com/package/socket.io-parser