CVE-2017-16031
Socket.io is a realtime application framework that provides communication via websockets. Because socket.io 0.9.6 and earlier depends on…
- 7.5HighCVSS base score
- 2.0%Exploitation in 30 daysEPSS · top 19% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By hackerone
- 7 months later
· 7 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 2.0% · top 19% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
HackerOne · socket.io node module
- affected <=0.9.6
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmsocket.ioGHSA-qv2v-m59f-v5fw (opens in a new tab)
References
4
- https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io/issues/856 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io/pull/857 (opens in a new tab)x_refsource_MISCx_transferred
- https://nodesecurity.io/advisories/321 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-0772 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qv2v-m59f-v5fw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-16031)Record last updated .