{"id":"CVE-2017-16031","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-16031","generatedAt":"2026-10-29T00:33:30.330Z","title":"An attacker is able to guess the socket ID and gain access to socket.io servers, potentially obtaining sensitive information.","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.","published":"2018-06-04T19:29:02.000Z","lastModified":"2026-06-17T01:08:41.000Z","status":"Modified","sourceIdentifier":"support@hackerone.com","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-330"],"affected":["socket/socket.io"],"epss":{"score":0.01969,"percentile":0.80287,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"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."},"changes":[],"references":[{"url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://github.com/socketio/socket.io/issues/856","tags":["Issue Tracking","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://github.com/socketio/socket.io/pull/857","tags":["Issue Tracking","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://nodesecurity.io/advisories/321","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/socketio/socket.io/issues/856","tags":["Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/socketio/socket.io/pull/857","tags":["Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://nodesecurity.io/advisories/321","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16031","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}