{"id":"CVE-2023-45820","published":"2023-10-19T18:38:18Z","modified":"2024-09-12T17:51:27Z","title":"Directus crashes on invalid WebSocket message","vendor":"directus","product":"directus","tier":"tail","description":{"text":"Directus is a real-time API and App dashboard for managing SQL database content. In affected versions any Directus installation that has websockets enabled can be crashed if the websocket server receives an invalid frame. A malicious user could leverage this bug to crash Directus. This issue has been addressed in version 10.6.2. Users are advised to upgrade. Users unable to upgrade should avoid using websockets.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00834,"percentile":0.58569,"provenance":"source"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-hmgw-9jrg-hf2m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":11.71},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">=10.4, < 10.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-12T17:37:55.720867Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=10.4.0, <10.6.2"],"patched":["10.6.2"],"from":["GHSA-hmgw-9jrg-hf2m"],"provenance":"source"}],"summary":{"text":"Directus, the real-time API and App dashboard for managing SQL database content, contains a flaw in its WebSocket server that is reachable in any installation with websockets enabled. An attacker with network access and no authentication or user interaction can crash Directus by sending an invalid WebSocket frame, provided websockets are enabled in the configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:19Z"},"euvd":{"id":"EUVD-2023-2748","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2023-45820","children":[{"from":"CVE-2023-45820","to":"CVE-2024-54151","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/websocket/controllers/base.ts"],"commits":["https://github.com/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb","https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21"],"basis":"shared function","functions":["SocketController"]}]}],"packageHistory":[{"cve":"CVE-2023-28443","published":"2023-03-23","fixed":"9.23.3","kev":false},{"cve":"CVE-2023-38503","published":"2023-07-25","fixed":"10.5.0","kev":false},{"cve":"CVE-2024-39701","published":"2024-07-08","fixed":"10.6.0","kev":false},{"cve":"CVE-2023-45820","published":"2023-10-19","fixed":"10.6.2","kev":false},{"cve":"CVE-2024-27295","published":"2024-03-01","fixed":"10.8.3","kev":false,"link":{"from":"CVE-2023-45820","to":"CVE-2024-27295","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"10.6.2","toFixed":"10.8.3","daysApart":134}]}},{"cve":"CVE-2024-27296","published":"2024-03-01","fixed":"10.8.3","kev":false,"link":{"from":"CVE-2023-45820","to":"CVE-2024-27296","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"10.6.2","toFixed":"10.8.3","daysApart":134}]}},{"cve":"CVE-2024-28238","published":"2024-03-12","fixed":"10.10.0","kev":false}],"package":"npm:directus"}}