{"id":"CVE-2023-38504","state":"PUBLISHED","title":"Sails DoS vulnerability for apps with sockets enabled","description":"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.","publishedAt":"2023-07-27T18:12:05.419Z","updatedAt":"2024-10-03T18:39:16.029Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["balderdashy sails"],"affected":[{"vendor":"balderdashy","product":"sails","versions":[{"version":"< 1.5.7","status":"affected"}]}],"references":["https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7","https://github.com/balderdashy/sails/pull/7287","https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d","https://github.com/balderdashy/sails/releases/tag/v1.5.7"],"weaknesses":["CWE-248"],"ingestedAt":"2026-10-29T20:06:08.715Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/38xxx/CVE-2023-38504.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-38504","state":"PUBLISHED","datePublished":"2023-07-27T18:12:05.419Z","dateUpdated":"2024-10-03T18:39:16.029Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-07-18T16:28:12.077Z"},"containers":{"cna":{"title":"Sails DoS vulnerability for apps with sockets enabled","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"balderdashy","product":"sails","versions":[{"version":"< 1.5.7","status":"affected"}]}],"references":[{"url":"https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7","name":"https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/balderdashy/sails/pull/7287","name":"https://github.com/balderdashy/sails/pull/7287","tags":["x_refsource_MISC"]},{"url":"https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d","name":"https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d","tags":["x_refsource_MISC"]},{"url":"https://github.com/balderdashy/sails/releases/tag/v1.5.7","name":"https://github.com/balderdashy/sails/releases/tag/v1.5.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-07-27T18:12:05.419Z"},"source":{"advisory":"GHSA-gpw9-fwm8-7rx7","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7","name":"https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/balderdashy/sails/pull/7287","name":"https://github.com/balderdashy/sails/pull/7287","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d","name":"https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/balderdashy/sails/releases/tag/v1.5.7","name":"https://github.com/balderdashy/sails/releases/tag/v1.5.7","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T17:46:55.179Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"sailsjs","product":"sails","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.5.7","versionType":"custom"}],"cpes":["cpe:2.3:a:sailsjs:sails:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-03T18:36:54.226130Z","id":"CVE-2023-38504","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-03T18:39:16.029Z"}}]}}}