CVE-2024-34709 json
Directus Lacks Session Tokens Invalidation
published 2024-05-13 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1618 , GHSA-g65h-35f3-x2w3
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.0, session tokens function like the other JWT tokens where they are not actually invalidated when logging out. The `directus_session` gets destroyed and the cookie gets deleted but if the cookie value is captured, it will still work for the entire expiry time which is set to 1 day by default. Making it effectively a long lived unrevokable stateless token instead of the stateful session token it was meant to be. This vulnerability is fixed in 10.11.0.
Patch / fix
- npm directus 10.11.0
- monospace directus 10.11.0
- rangerstudio directus 10.11.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | directus | >=10.10.0, <10.11.0 |
10.11.0 |
Affected products
- directus directus
Classification
- Weakness
-
- CWE-613 DEPRECATED: Insufficient Session Expiration
References
-
github.com
/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf
web, patch
-
github.com
/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-34709
advisory
-
github.com
/directus/directus
package
Sources
- CVE List CVE-2024-34709
- GitHub Advisory GHSA-g65h-35f3-x2w3
- NVD CVE-2024-34709
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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.