CVE-2017-16031: hackerone socket.io node module Use of Insufficiently Random Values
Vulnerability summary
CVE-2017-16031 is a high (CVSS 7.5) Use of Insufficiently Random Values vulnerability in hackerone socket.io node module. EPSS estimates a 1.93% chance of exploitation in the next 30 days, higher than 80.7% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 04-06-2018PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.93%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 1.97% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Hackerone1 product
- socket.io node module≤ 0.9.6
Npm1 product
- socket.io< 0.9.7
Socket1 product
- socket.io≤ 0.9.6
3 vendors · 3 products
References
8 links- github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8X Refsource MISCIssue TrackingPatchThird Party AdvisoryWEB