Advisory

GHSA-6663-c963-2gqg

Also known as: CVE-2016-10542

Summary

DoS due to excessively large websocket message in ws

Details

Affected versions of ws do not appropriately limit the size of incoming websocket payloads, which may result in a denial of service condition when the node process crashes after receiving a large payload.

Recommendation

Update to version 1.1.1 or later.
Alternatively, set the maxpayload option for the ws server to a value smaller than 256MB.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-02-18 23:58 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

ws

npm · All systems

Affected

  • introduced 0, fixed 1.1.1 (semver)

Fixed versions

1.1.1

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