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

GMS-2016-2: Remote Memory Disclosure

January 4, 2016

When given a number instead of a string, the ping function sends a non zeroed buffer of the corresponding length which exposes memory to the recipient.

References

  • github.com/websockets/ws/releases/tag/1.0.1

Code Behaviors & Features

Detect and mitigate GMS-2016-2 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.0.0

Fixed versions

  • 1.0.1

Solution

Update to version 1.0.1 or greater.

Source file

npm/ws/GMS-2016-2.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:59 +0000.