Access Restriction Bypass Affecting directus package, versions <9.15.0
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 ID SNYK-JS-DIRECTUS-2988711
- published 21 Aug 2022
- disclosed 21 Aug 2022
- credit Witold Gorecki
Introduced: 21 Aug 2022
CVE-2022-36031 Open this link in a new tabHow 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