Advisory

GHSA-gpw9-fwm8-7rx7

Also known as: CVE-2023-38504

Summary

DoS vulnerability for apps with sockets enabled

Details

Impact
In Sails apps <=v1.5.6, an attacker can send a virtual request that will cause the node process to crash.

Patches
This behavior was fixed in Sails v1.5.7

Workarounds
Disable the sockets hook and remove the sails.io.js client

References
https://github.com/balderdashy/sails/pull/7287

Big thanks to @ThomasRinsma at Codean!

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-07-27 17:13 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

sails

npm · All systems

Affected

  • introduced 0, fixed 1.5.7 (semver)

Fixed versions

1.5.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences