sails@0.8.86 vulnerabilities

API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io)

Direct Vulnerabilities

Known vulnerabilities in the sails package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Uncaught Exception

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.

How to fix Uncaught Exception?

Upgrade sails to version 1.5.7 or higher.

<1.5.7
  • M
Prototype Pollution

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 Prototype Pollution via the function loadActionModules() in controller/load-action-modules.js.

NOTE: The maintainers of this package recommend not allowing an application to replace its controller or action files at runtime, to avoid this vulnerability.

How to fix Prototype Pollution?

Upgrade sails to version 1.5.3 or higher.

<1.5.3
  • H
Denial of Service (DoS)

sails is API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io). Affected versions of the package are vulnerable to a Denial of Service (DoS) attack.

How to fix Denial of Service (DoS)?

Upgrade sails to version 0.9.0 or higher.

<0.9.0
  • H
Broken CORS

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

Sails version 0.12.6 and lower allowed the default CORS settings to be very permissive, letting the attacker to bypass the Same Origin Policy.

How to fix Broken CORS?

Upgrade sails to version 0.12.7 or higher.

<0.12.7