Advisory

GHSA-qv2v-m59f-v5fw

Also known as: CVE-2017-16031

Summary

Insecure randomness in socket.io

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-11-07 00:29 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

socket.io

npm · All systems

Affected

  • introduced 0, fixed 0.9.7 (semver)

Fixed versions

0.9.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences