Security mailing lists by PureSourceCode

CVE-2024-45596

MEDIUM 6.5CVSS 3.1

Session is cached for OpenID and OAuth2 if `redirect` is not used

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.

Published
10 Sep 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-384CWE-524
Also known as
GHSA-cff8-x7jv-4fm8
Sources
NVDJSONOSV GHSA-cff8-x7jv-4fm8JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD monospace directus
cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
< 10.13.3 10.13.3
NVD monospace directus
cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
>= 11.0.0, < 11.1.0 11.1.0
OSV npm directus < 10.13.3 10.13.3
OSV npm directus >= 11.0.0-rc.1, < 11.1.0 11.1.0
OSV npm @directus/api < 21.0.1 21.0.1
OSV npm @directus/api >= 22.0.0, < 22.2.0 22.2.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Sep 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.