{"id":"CVE-2017-16031","details":"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.","aliases":["GHSA-qv2v-m59f-v5fw"],"modified":"2026-05-28T04:04:26.886172337Z","published":"2018-06-04T19:29:01.727Z","database_specific":{"unresolved_ranges":[{"source":"CPE_RANGE","cpes":["cpe:2.3:a:socket:socket.io:*:*:*:*:*:node.js:*:*"],"vendor_product":"socket:socket.io","extracted_events":[{"last_affected":"0.9.6"}]}]},"references":[{"type":"ADVISORY","url":"https://nodesecurity.io/advisories/321"},{"type":"REPORT","url":"https://github.com/socketio/socket.io/issues/856"},{"type":"REPORT","url":"https://github.com/socketio/socket.io/pull/857"},{"type":"FIX","url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/socketio/socket.io","events":[{"introduced":"0"},{"fixed":"67b4eb9abdf111dfa9be4176d1709374a2b4ded8"}],"database_specific":{"source":"REFERENCES"}}],"versions":["0.9.5","0.9.4","0.9.3","0.9.2","0.9.1-1","0.9.1","0.9.0","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.9","0.7.8","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-16031.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}