Information Exposure Affecting directus package, versions >=10.0.0 <10.13.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-DIRECTUS-7430911
  • published9 Jul 2024
  • disclosed8 Jul 2024
  • creditUnknown

Introduced: 8 Jul 2024

CVE-2024-39896  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade directus to version 10.13.0 or higher.

Overview

directus is a Directus is a real-time API and App dashboard for managing SQL database content.

Affected versions of this package are vulnerable to Information Exposure due to the error handling mechanism when integrating SSO with local authentication. An attacker can determine if a user is registered with an SSO provider by attempting to authenticate with an email that is already linked to an SSO account, which triggers a specific error message.

Workaround

When only using SSO for authentication then you can work around this issue by disabling local login using the following environment variable AUTH_DISABLE_DEFAULT="true".

References

CVSS Scores

version 4.0
version 3.1