CVE-2023-45820 json
Directus crashes on invalid WebSocket message
published 2023-10-19 3 y ago modified 2026-06-17 4 mo ago also GHSA-hmgw-9jrg-hf2m , EUVD-2023-2748
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm directus 10.6.2
- directus directus 10.6.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/directus/directus/security/advisories/GHSA-hmgw-9jrg-hf2m referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/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 | directus | >=10.4.0, <10.6.2 |
10.6.2 |
Affected products
- directus directus
Classification
- Weakness
-
- CWE-755 Improper Handling of Exceptional Conditions
References
-
github.com
/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb
web, patch
-
github.com
/directus/directus/security/advisories/GHSA-hmgw-9jrg-hf2m
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-45820
advisory
-
github.com
/directus/directus
package
-
github.com
/directus/directus/releases/tag/v10.6.2
web
Sources
- CVE List CVE-2023-45820
- GitHub Advisory GHSA-hmgw-9jrg-hf2m
- NVD CVE-2023-45820
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.