{"id":"GHSA-f7f4-hqp2-7prc","summary":"Improper Input Validation in sails-hook-sockets","details":"Sails.js before v1.0.0-46 allows attackers to cause a denial of service with a single request because there is no error handler in sails-hook-sockets to handle an empty pathname in a WebSocket request.","aliases":["CVE-2018-21036"],"modified":"2023-11-08T04:00:14.236988Z","published":"2020-07-24T20:10:21Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-07-24T17:27:33Z","nvd_published_at":"2020-07-21T14:15:00Z","cwe_ids":["CWE-20"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21036"},{"type":"WEB","url":"https://github.com/balderdashy/sails-hook-sockets/commit/0533a4864b1920fd8fbb5287bc0889193c5faf44"},{"type":"WEB","url":"https://github.com/balderdashy/sails-hook-sockets/commit/ff02114eaec090ee51db48435cc32d451662606e"},{"type":"PACKAGE","url":"https://github.com/balderdashy/sails-hook-sockets"},{"type":"WEB","url":"https://github.com/balderdashy/sails/blob/56f8276f6501a144a03d1f0f28df4ccdb4ad82e2/CHANGELOG.md"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2020/07/19/1"}],"affected":[{"package":{"name":"sails-hook-sockets","ecosystem":"npm","purl":"pkg:npm/sails-hook-sockets"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f7f4-hqp2-7prc/GHSA-f7f4-hqp2-7prc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}