CVEvulnerability
CVE-2017-16031
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-06-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-330
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.
Affected configurations
• socket socket.io (<= 0.9.6)
Related
Weakness · CWE (1)
- CWE-330 Use of Insufficiently Random Values weakness
References
- https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8 Issue Tracking, Patch, Third Party Advisory
- https://github.com/socketio/socket.io/issues/856 Issue Tracking, Third Party Advisory
- https://github.com/socketio/socket.io/pull/857 Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/321 Third Party Advisory
- https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8 Issue Tracking, Patch, Third Party Advisory
- https://github.com/socketio/socket.io/issues/856 Issue Tracking, Third Party Advisory
- https://github.com/socketio/socket.io/pull/857 Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/321 Third Party Advisory