{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-16031","published":"2018-06-04T19:29:01.727000Z","last_modified":"2026-06-17T01:08:41.283000Z","status":"Modified","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-330"],"cpes":[{"criteria":"cpe:2.3:a:socket:socket.io:*:*:*:*:*:node.js:*:*","part":"a","vendor":"socket","product":"socket.io","version_end_including":"0.9.6"}],"cpes_truncated":false,"vendors":["socket"],"products":["socket/socket.io"],"epss":{"score":0.01932,"percentile":0.80662,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qv2v-m59f-v5fw","ecosystem":"npm","name":"socket.io","purl":"pkg:npm/socket.io","ranges":[{"introduced":"0","fixed":"0.9.7"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2017-16031/","html_en":"/en/cve/CVE-2017-16031/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16031","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-16031"},"untrusted":{"vendor_name":"Socket","product_name":"Socket.io","desc_en":"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":[{"untrusted_vendor":"HackerOne","untrusted_product":"socket.io node module"}],"references":[{"url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/socketio/socket.io/issues/856","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/socketio/socket.io/pull/857","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/321","tags":["Third Party Advisory"]}]}}