{"id":"CVE-2017-16031","published":"2018-06-04T19:00:00Z","modified":"2024-09-16T21:07:25Z","title":"Socket.io is a realtime application framework that provides communication via websockets","vendor":"HackerOne","product":"socket.io node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01932,"percentile":0.80533,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/socket.io/issues/856","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/socket.io/pull/857","tags":["x_refsource_MISC"]},{"url":"https://nodesecurity.io/advisories/321","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.11}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"socket.io node module","versions":["<=0.9.6"]}],"affected":[{"ecosystem":"npm","package":"socket.io","vulnerableRanges":["<0.9.7"],"patched":["0.9.7"],"from":["GHSA-qv2v-m59f-v5fw"],"provenance":"source"}],"summary":{"text":"The flaw is in the socket.io Node module, where socket IDs are generated using Math.random(), making them predictable. Because socket.io 0.9.6 and earlier rely on this method, an attacker who guesses a socket ID may be able to gain access to socket.io servers and potentially obtain sensitive information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:41Z"},"euvd":{"id":"EUVD-2018-0772","exploited":false,"provenance":"source"}}