Vulnerability in HackerOne Socket.io Node Module
CVE-2017-16031
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.019, 80.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- HackerOne Socket.io Node Module — versions <=0.9.6
- Socket Socket.io
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ossf-cve-benchmark/CVE-2017-16031, PalindromeLabs/awesome-websocket-security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8 (Patch, Third Party Advisory, Issue Tracking)
- github.com/socketio/socket.io/issues/856 (Third Party Advisory, Issue Tracking)
- github.com/socketio/socket.io/pull/857 (Third Party Advisory, Issue Tracking)
- nodesecurity.io/advisories/321 (Third Party Advisory)