Headline
GHSA-gpw9-fwm8-7rx7: DoS vulnerability for apps with sockets enabled
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!
Package
npm sails (npm)
Affected versions
< 1.5.7
Patched versions
1.5.7
Description
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
balderdashy/sails#7287
Big thanks to @ThomasRinsma at Codean!
References
- GHSA-gpw9-fwm8-7rx7
- balderdashy/sails#7287
- https://github.com/balderdashy/sails/releases/tag/v1.5.7
eashaw published to balderdashy/sails
Jul 27, 2023
Published to the GitHub Advisory Database
Jul 27, 2023
Reviewed
Jul 27, 2023
Related news
Sails is a realtime MVC Framework for Node.js. In Sails apps prior to version 1.5.7,, an attacker can send a virtual request that will cause the node process to crash. This behavior was fixed in Sails v1.5.7. As a workaround, disable the sockets hook and remove the `sails.io.js` client.