CVE-2017-16031
An attacker is able to guess the socket ID and gain access to socket.io servers, potentially obtaining sensitive information.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.97%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.97% probability · 80th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-330
- Affected
- socket/socket.io
- Source
- support@hackerone.com
EPSS 2.0% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.