Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sails
  4. ›
  5. CVE-2018-21036

CVE-2018-21036: Improper Input Validation

July 21, 2020 (updated July 23, 2020)

Sails.js 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-21036

Code Behaviors & Features

Detect and mitigate CVE-2018-21036 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/sails/CVE-2018-21036.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.