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

GMS-2019-145: Denial of Service in ws

June 4, 2019 (updated July 17, 2026)

Affected versions of ws can crash when a specially crafted Sec-WebSocket-Extensions header containing Object.prototype property names as extension or parameter names is sent.

References

  • github.com/advisories/GHSA-5v72-xg48-5rpm
  • github.com/websockets/ws/commit/a810bfa44f08c84ff3f43cc71327e9bb5fb273ef
  • github.com/websockets/ws/commit/c4fe46608acd61fbf7397eadc47378903f95b78a
  • github.com/websockets/ws/commit/f8fdcd40ac8be7318a6ee41f5ceb7e77c995b407
  • snyk.io/vuln/npm:ws:20171108

Code Behaviors & Features

Detect and mitigate GMS-2019-145 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.0 before 1.1.5, all versions starting from 2.0.0 before 3.3.1

Fixed versions

  • 1.1.5
  • 3.3.1

Solution

Upgrade to versions 1.1.5, 3.3.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/ws/GMS-2019-145.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:17:50 +0000.