CVE-2017-16031

HIGH

socket.io < 0.9.6 - Predictable Socket ID via Math.random()

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/socketio/socket.io/issues/856
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/socketio/socket.io/pull/857
Third Party Advisory x_refsource_misc
https://nodesecurity.io/advisories/321

Scores

CVSS v3 7.5
EPSS 0.0200
EPSS Percentile 78.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-330
Status published
Products (2)
npm/socket.io 0 - 0.9.7npm
socket/socket.io < 0.9.6
Published Jun 04, 2018
Tracked Since Feb 18, 2026