CVE-2018-21036

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductSails
PublishedJul 21, 2020
First seenJul 21, 2020

How to fix

Update
  • sailsjs sails1.0.0-46 or later
  • sails-hook-sockets1.5.5 or later

Affected products

ProductAffected versionsFixed in
sailsjs sailsv < 1.0.0-461.0.0-46
sails-hook-socketsnpmv < 1.5.51.5.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.