{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.9.6"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "67b4eb9abdf111dfa9be4176d1709374a2b4ded8"
            }
          ],
          "repo": "https://github.com/socketio/socket.io",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "67b4eb9abdf111dfa9be4176d1709374a2b4ded8"
            }
          ],
          "repo": "https://github.com/socketio/socket.io",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2017-16031",
  "modified": "2026-03-14T13:47:17.806548279Z",
  "published": "2018-06-04T19:29:01.727Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nodesecurity.io/advisories/321"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/socketio/socket.io/issues/856"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/socketio/socket.io/pull/857"
    },
    {
      "type": "FIX",
      "url": "https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}