CVE-2023-38504
HIGH 7.5CVSS 3.1DoS vulnerability for apps with sockets enabled
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.
- Published
- 27 Jul 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-248
- Also known as
- GHSA-gpw9-fwm8-7rx7
- Sources
- NVDJSONOSV GHSA-gpw9-fwm8-7rx7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sailsjs | sailscpe:2.3:a:sailsjs:sails:*:*:*:*:*:node.js:*:* |
< 1.5.7 | 1.5.7 |
| OSV | npm | sails | < 1.5.7 | 1.5.7 |
References
- https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d · Patch, WEB
- https://github.com/balderdashy/sails/pull/7287 · Issue Tracking, WEB
- https://github.com/balderdashy/sails/releases/tag/v1.5.7 · Release Notes, WEB
- https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-38504 · ADVISORY
- https://github.com/balderdashy/sails · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 Jul 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jul 2023)