{"id":"GHSA-6663-c963-2gqg","summary":"DoS due to excessively large websocket message in ws","details":"Affected versions of `ws` do not appropriately limit the size of incoming websocket payloads, which may result in a denial of service condition when the node process crashes after receiving a large payload.\n\n\n\n## Recommendation\n\nUpdate to version 1.1.1 or later. \nAlternatively, set the `maxpayload` option for the `ws` server to a value smaller than 256MB.","aliases":["CVE-2016-10542"],"modified":"2023-11-08T03:58:11.580073Z","published":"2019-02-18T23:58:35Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:18:11Z","nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10542"},{"type":"WEB","url":"https://github.com/nodejs/node/issues/7388"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6663-c963-2gqg"},{"type":"WEB","url":"https://www.npmjs.com/advisories/120"}],"affected":[{"package":{"name":"ws","ecosystem":"npm","purl":"pkg:npm/ws"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-6663-c963-2gqg/GHSA-6663-c963-2gqg.json"}}],"schema_version":"1.9.0"}