{"cve":"CVE-2018-21036","nvd":{"published":"2020-07-21T14:15:13.067","modified":"2026-06-17T01:54:00.367","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-20"],"references":["http://www.openwall.com/lists/oss-security/2020/07/19/1","https://github.com/balderdashy/sails-hook-sockets/commit/0533a4864b1920fd8fbb5287bc0889193c5faf44","https://github.com/balderdashy/sails-hook-sockets/commit/ff02114eaec090ee51db48435cc32d451662606e","https://github.com/balderdashy/sails/blob/56f8276f6501a144a03d1f0f28df4ccdb4ad82e2/CHANGELOG.md","http://www.openwall.com/lists/oss-security/2020/07/19/1"],"products":["sailsjs:sails"],"source":"nvd","synced_at":"2026-10-19T21:06:22.076270124+00:00"},"epss":{"cve":"CVE-2018-21036","score":0.01769,"percentile":0.78129,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f7f4-hqp2-7prc","url":"https://osv.dev/vulnerability/GHSA-f7f4-hqp2-7prc","summary":"Improper Input Validation in sails-hook-sockets","modified":"2023-11-08T04:00:14.236988Z","packages":[{"ecosystem":"npm","name":"sails-hook-sockets","purl":"pkg:npm/sails-hook-sockets","ranges":["<1.5.5"],"fixed":["1.5.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}