logo

CVE-2017-16031 socket.io

Package

Manager: npm
Name: socket.io
Vulnerable Version: >=0 <0.9.7

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00406 pctl0.60257

Details

Insecure randomness in socket.io Affected versions of `socket.io` depend on `Math.random()` to create socket IDs, and therefore the IDs are predictable. With enough information on prior IDs, an attacker may be able to guess the socket ID and gain access to socket.io servers without authorization. ## Recommendation Update to v0.9.7 or later.

Metadata

Created: 2018-11-07T00:29:37Z
Modified: 2021-09-16T21:04:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-qv2v-m59f-v5fw/GHSA-qv2v-m59f-v5fw.json
CWE IDs: ["CWE-330"]
Alternative ID: GHSA-qv2v-m59f-v5fw
Finding: F034
Auto approve: 1