{"id":"CVE-2017-16031","state":"PUBLISHED","title":"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 I","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.","publishedAt":"2018-06-04T19:00:00.000Z","updatedAt":"2024-09-16T21:07:25.207Z","severity":null,"assigner":"hackerone","products":["HackerOne socket.io node module"],"affected":[{"vendor":"HackerOne","product":"socket.io node module","versions":[{"version":"<=0.9.6","status":"affected"}]}],"references":["https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","https://github.com/socketio/socket.io/issues/856","https://github.com/socketio/socket.io/pull/857","https://nodesecurity.io/advisories/321"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:25.795Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/16xxx/CVE-2017-16031.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-16031","state":"PUBLISHED","datePublished":"2018-06-04T19:00:00.000Z","dateUpdated":"2024-09-16T21:07:25.207Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2017-10-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"HackerOne","product":"socket.io node module","versions":[{"version":"<=0.9.6","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"description":"Account Hijacking","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2018-06-04T18:57:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-04-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2017-16031","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"socket.io node module","version":{"version_data":[{"version_value":"<=0.9.6"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Account Hijacking"}]}]},"references":{"reference_data":[{"name":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","refsource":"MISC","url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8"},{"name":"https://github.com/socketio/socket.io/issues/856","refsource":"MISC","url":"https://github.com/socketio/socket.io/issues/856"},{"name":"https://github.com/socketio/socket.io/pull/857","refsource":"MISC","url":"https://github.com/socketio/socket.io/pull/857"},{"name":"https://nodesecurity.io/advisories/321","refsource":"MISC","url":"https://nodesecurity.io/advisories/321"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/socketio/socket.io/issues/856","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/socketio/socket.io/pull/857","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nodesecurity.io/advisories/321","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T20:13:06.634Z"}}]}}}