GHSA-qv2v-m59f-v5fw

Suggest an improvement
Source
https://github.com/advisories/GHSA-qv2v-m59f-v5fw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-qv2v-m59f-v5fw/GHSA-qv2v-m59f-v5fw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qv2v-m59f-v5fw
Aliases
Published
2018-11-07T00:29:37Z
Modified
2023-11-01T04:47:47.226009Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-330"
    ],
    "github_reviewed": true,
    "nvd_published_at": null,
    "severity": "HIGH",
    "github_reviewed_at": "2020-06-16T21:52:46Z"
}
References

Affected packages

npm / socket.io

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.7

Database specific

source

"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-qv2v-m59f-v5fw/GHSA-qv2v-m59f-v5fw.json"

last_known_affected_version_range

"<= 0.9.6"