CVE-2024-45596
CVE-2024-45596 · Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Directus is a real-time API and App dashboard for managing SQL database content. An unauthenticated user can access credentials of last authenticated user via OpenID or OAuth2 where the authentication URL did not include redirect query string. This happens because on that endpoint for both OpenId and Oauth2 Directus is using the respond middleware, which by default will try to cache GET requests that met some conditions. Although, those conditions do not include this scenario, when an unauthenticated request returns user credentials. This vulnerability is fixed in 10.13.3 and 11.1.0.
CVSS 7.4 · High · EPSS 0.7% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
directus
- Versions
- < 10.13.3: Affected
- >= 11.0.0, < 11.1.0: Affected
No fix published
directus npm
- Affected ranges
- SEMVER: < 10.13.3
Update to 10.13.3
directus npm
- Affected ranges
- SEMVER: ≥ 11.0.0-rc.1, < 11.1.0
Update to 11.1.0
@directus/api npm
- Affected ranges
- SEMVER: < 21.0.1
Update to 21.0.1
@directus/api npm
- Affected ranges
- SEMVER: ≥ 22.0.0, < 22.2.0
Update to 22.2.0