{"schemaVersion":3,"id":"CVE-2016-10542","aliases":["UBUNTU-CVE-2016-10542","DEBIAN-CVE-2016-10542","GHSA-6663-c963-2gqg"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-05-31T20:00:00.000Z","modified":"2024-09-17T04:03:37.757Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.07424,"percentile":0.94393,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.11499999999999982,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.07539},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0725,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07424,"percentile":0.94393}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0725,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07539,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07424,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07424,"percentile":0.94393}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_AUXILIARY_DOS_HTTP_WS_DOS","name":"ws - Denial of Service","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/ws_dos.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/dos/http/ws_dos","rank":"300","rankName":"normal","postAuth":false,"check":false,"stability":["crash-service-down"],"sideEffects":[],"reliability":[]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"node-ws","name":"node-ws","label":"node-ws","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-ws","purlType":"deb","versions":[{"text":"< 1.1.0+ds1.e6ddaae4-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0+ds1.e6ddaae4-5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-ws","name":"node-ws","label":"node-ws","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-ws","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"hackerone","product":"ws node module","name":"ws node module","label":"ws node module","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.1.0","eol":null,"hubHref":"/vendor/hackerone/ws_node_module"},{"vendor":"Npm","product":"ws","name":"ws","label":"ws","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/ws","purlType":"npm","versions":[{"text":"< 1.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.1","eol":null,"hubHref":null},{"vendor":"ws_project","product":"ws","name":"ws","label":"ws","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.1.0","eol":null,"hubHref":"/vendor/ws_project/ws"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/nodejs/node/issues/7388","label":"github.com/nodejs/node/issues/7388","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","REPORT","WEB"]},{"url":"https://nodesecurity.io/advisories/120","label":"nodesecurity.io/advisories/120","hostname":"nodesecurity.io","tags":["X Refsource MISC","Third Party Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2016-10542","label":"ubuntu.com/security/CVE-2016-10542","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10542","label":"www.cve.org/CVERecord?id=CVE-2016-10542","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10542","label":"security-tracker.debian.org/tracker/CVE-2016-10542","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10542","label":"nvd.nist.gov/vuln/detail/CVE-2016-10542","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-6663-c963-2gqg","label":"github.com/advisories/GHSA-6663-c963-2gqg","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.npmjs.com/advisories/120","label":"www.npmjs.com/advisories/120","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2016-1000025"],"related":[]},"timeline":[{"kind":"published","date":"2018-05-31T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T04:03:37.757Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:48:01.015Z","stale":false,"partial":false}}