Vulnerabilities · 2017 · Socket
CVE-2017-16031
Socket.io vulnerability
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 products
Socket.io. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Socket.io runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8 · Patch
- github.com/socketio/socket.io/issues/856 · Third Party Advisory
- github.com/socketio/socket.io/pull/857 · Third Party Advisory
- nodesecurity.io/advisories/321 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-16031
- cve.org/CVERecord?id=CVE-2017-16031
More vulnerabilities in Socket products
CVE-2023-32695CVE-2023-31125CVE-2022-41940CVE-2022-25867CVE-2022-21676CVE-2022-2421CVE-2020-36049CVE-2020-36048All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.