VYPR
High severityNVD Advisory· Published Sep 10, 2024· Updated Sep 10, 2024

Directus's session is cached for OpenID and OAuth2 if `redirect` is not used

CVE-2024-45596

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
directusnpm
< 10.13.310.13.3
directusnpm
>= 11.0.0-rc.1, < 11.1.011.1.0
@directus/apinpm
< 21.0.121.0.1
@directus/apinpm
>= 22.0.0, < 22.2.022.2.0

Affected products

3

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.