Access Restriction Bypass Affecting directus package, versions <9.15.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (36th 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-2988711
  • published21 Aug 2022
  • disclosed21 Aug 2022
  • creditWitold Gorecki

Introduced: 21 Aug 2022

CVE-2022-36031  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade directus to version 9.15.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 Access Restriction Bypass by having an authorized user update the filename_disk value to a folder and accessing that file through the /assets endpoint.

Workaround:

Users unable to upgrade may prevent this problem by ensuring no non-admin users have permission to update the filename_disk field on directus_files.

References

CVSS Scores

version 3.1