Improper Input Validation Affecting node-ws package, versions <1.1.0+ds1.e6ddaae4-5


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
7.54% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEWS-265062
  • published31 May 2018
  • disclosed31 May 2018

Introduced: 31 May 2018

CVE-2016-10542  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-ws to version 1.1.0+ds1.e6ddaae4-5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-ws package and not the node-ws package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

ws is a "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455". By sending an overly long websocket payload to a ws server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.