Uncaught Exception Affecting sails package, versions <1.5.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-SAILS-5808437
  • published 28 Jul 2023
  • disclosed 28 Jul 2023
  • credit ThomasRinsma

How to fix?

Upgrade sails to version 1.5.7 or higher.

Overview

sails is a framework for building realtime apps, using MVC conventions (based on Express and Socket.io).

Affected versions of this package are vulnerable to Uncaught Exception. An attacker can send a virtual request that will cause the node process to crash.

Workaround

Users who are unable to upgrade to the fixed version can disable the sockets hook and remove the sails.io.js client.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

7.5 high