Insecure Defaults Affecting directus package, versions <9.7.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.2% (59th 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 Learn

Learn about Insecure Defaults vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUS-2441822
  • published7 Apr 2022
  • disclosed5 Apr 2022
  • creditRijk van Zanten

Introduced: 5 Apr 2022

CVE-2022-26969  (opens in a new tab)
CWE-453  (opens in a new tab)

How to fix?

Upgrade directus to version 9.7.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 Insecure Defaults via the default value for the CORS_ENABLED and CORS_ORIGIN configuration, which was set to be very permissive.

Workaround

It is possible to configure the CORS environment variables to match your project's usage, instead of leaving them as is.

References

CVSS Scores

version 3.1