LiveActive security incident?Get immediate response
CVE Record

CVE-2017-16031: Socket.io is a realtime application framework that provides communication via websockets.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Older Socket.IO versions generated socket IDs using Math.random(), making IDs predictable. If an application still runs socket.io 0.9.6 or earlier, an attacker may be able to guess an ID and access a realtime server, potentially exposing sensitive information.

Executive priority

Treat this as a legacy dependency cleanup with security impact. Urgency rises if affected Socket.IO servers are public-facing or handle sensitive realtime data. There is no provided evidence of active exploitation.

Technical view

CVE-2017-16031 affects the socket.io node module through version 0.9.6. The weakness is predictable socket ID generation from Math.random(). The public issue, pull request, and commit document the change away from this behavior, but the provided sources do not include CVSS, CWE, or confirmed exploitation.

Likely exposure

Exposure is most likely in legacy Node.js applications that directly or transitively depend on socket.io 0.9.6 or earlier and expose Socket.IO endpoints to untrusted users or the internet.

Exploitation context

The CVE is not listed as KEV in the provided bundle. Public issue, pull request, commit, and advisory references exist, but the provided sources do not show active exploitation or weaponized use.

Researcher notes

The key technical condition is predictable socket IDs from Math.random() in socket.io <=0.9.6. The supplied sources identify affected versions and upstream remediation activity, but do not provide CVSS, CWE mapping, exploit prevalence, or a named patched version.

Mitigation direction

  • Inventory applications and lockfiles for socket.io versions 0.9.6 or earlier.
  • Upgrade socket.io to a maintained, non-affected release per vendor guidance.
  • Review the referenced Socket.IO commit, issue, pull request, and advisory before remediation.
  • Prioritize internet-facing realtime applications that exchange sensitive information.

Validation and detection

  • Check package manifests and lockfiles for direct or transitive socket.io dependencies.
  • Confirm deployed runtime artifacts no longer include socket.io 0.9.6 or earlier.
  • Map public Socket.IO endpoints and identify which application build serves them.
  • Review application logs for unexpected socket access patterns after remediation.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2017-16031 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOnesocket.io node module<=0.9.6Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.