Back
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…
High7.5EPSS 2.0%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
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 20% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- Account Hijacking
- CWE-330 (opens in a new tab)
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)
- 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)
Record last updated .