CVE-2023-38504 json
Sails DoS vulnerability for apps with sockets enabled
published 2023-07-27 3 y ago modified 2026-06-17 4 mo ago also GHSA-gpw9-fwm8-7rx7 , EUVD-2023-2068
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm sails 1.5.7
- sailsjs sails 1.5.7
- github.com/balderdashy/sails@4a023dc commit
- github.com/balderdashy/sails#7287 pull request
- github.com/balderdashy/sails/releases/tag/v1.5.7 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | sails | <1.5.7 |
1.5.7 |
Affected products
- balderdashy sails
- sailsjs sails
Classification
- Weakness
-
- CWE-248 Uncaught Exception
References
-
github.com
/balderdashy/sails/pull/7287
web, issue-tracking
-
github.com
/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d
web, patch
-
github.com
/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7
web, vendor-advisory
-
github.com
/balderdashy/sails/releases/tag/v1.5.7
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-38504
advisory
-
github.com
/balderdashy/sails
package
Sources
- CVE List CVE-2023-38504
- GitHub Advisory GHSA-gpw9-fwm8-7rx7
- NVD CVE-2023-38504
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.