{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-21036","published":"2020-07-21T14:15:13.067000Z","last_modified":"2026-06-17T01:54:00.367000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:sailsjs:sails:*:*:*:*:*:node.js:*:*","part":"a","vendor":"sailsjs","product":"sails","version_end_excluding":"1.0.0-46"}],"cpes_truncated":false,"vendors":["sailsjs"],"products":["sailsjs/sails"],"epss":{"score":0.01769,"percentile":0.78633,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f7f4-hqp2-7prc","ecosystem":"npm","name":"sails-hook-sockets","purl":"pkg:npm/sails-hook-sockets","ranges":[{"introduced":"0","fixed":"1.5.5"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2018-21036/","html_en":"/en/cve/CVE-2018-21036/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-21036","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-21036"},"untrusted":{"vendor_name":"Sailsjs","product_name":"Sails","desc_en":"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.","affected":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2020/07/19/1","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/balderdashy/sails-hook-sockets/commit/0533a4864b1920fd8fbb5287bc0889193c5faf44","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/balderdashy/sails-hook-sockets/commit/ff02114eaec090ee51db48435cc32d451662606e","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/balderdashy/sails/blob/56f8276f6501a144a03d1f0f28df4ccdb4ad82e2/CHANGELOG.md","tags":["Third Party Advisory"]}]}}