PT-2020-8680 · Sails.Js · Sails.Js

Ali Norouzi

·

Published

2020-07-21

·

Updated

2020-07-24

·

CVE-2018-21036

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Sails.js versions prior to 1.0.0-46
Description The issue 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.
Recommendations For versions prior to 1.0.0-46, update to version 1.0.0-46 or later to resolve the issue. As a temporary workaround, consider implementing a custom error handler in sails-hook-sockets to handle empty pathnames in WebSocket requests.

Fix

DoS

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-21036
GHSA-F7F4-HQP2-7PRC

Affected Products

Sails.Js