Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ws
  4. ›
  5. GMS-2016-38

GMS-2016-38: DoS due to excessively large websocket message

June 24, 2016

It is possible to crash the node process by sending an overly long websocket payload to a ws server.

References

  • github.com/nodejs/node/issues/7388
  • github.com/websockets/ws/commit/0328a8f49f004f98d2913016214e93b2fc2713bc

Code Behaviors & Features

Detect and mitigate GMS-2016-38 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.1.0

Fixed versions

  • 1.1.1

Solution

Update to version 1.1.1 of ws, or if that is not possible, set the maxpayload option for the ws server - make sure the value is less than 256MB.

Source file

npm/ws/GMS-2016-38.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:31 +0000.