Description
Socket.io is a realtime application framework that provides communication via websockets. Because socket.io 0.9.6 and earlier depends on `Math.random()` to create socket IDs, the IDs are predictable. An attacker is able to guess the socket ID and gain access to socket.io servers, potentially obtaining sensitive information.
Metrics
CVSS 3.0 7.5/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | socket.io node module | <=0.9.6 |
References
- https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8Issue Tracking, Patch, Third Party Advisory
- https://github.com/socketio/socket.io/issues/856Issue Tracking, Third Party Advisory
- https://github.com/socketio/socket.io/pull/857Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/321Third Party Advisory
- https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8Issue Tracking, Patch, Third Party Advisory
- https://github.com/socketio/socket.io/issues/856Issue Tracking, Third Party Advisory
- https://github.com/socketio/socket.io/pull/857Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/321Third Party Advisory
Timeline
- Published
- Jun 4, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified