GitHub Advisoryadvisory · npm
GHSA-77qm-wvqq-fg79 Directus vulnerable to unhandled exception on illegal filename_disk value
MEDIUM
Official page ↗
- Aliases
- CVE-2022-36031
- Ecosystem
- npm
- Packages
- directus
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-755
- Reviewed
- 2022-08-30
Affected packages
• npm directus: < 9.15.0 → fixed in 9.15.0
Description
The Directus process can be aborted by having an authorized user update the `filename_disk` value to a folder and accessing that file through the `/assets` endpoint.
The vulnerability is patched and released in v9.15.0.
You can prevent this problem by making sure no (untrusted) non-admin users have permissions to update the `filename_disk` field on `directus_files`.
For more information
If you have any questions or comments about this advisory:
• Open a Discussion in directus/directus
• Email us at [email protected]
Credits
This vulnerability was first discovered and reported by Witold Gorecki.
Related
Alias · CVE (1)
- CVE-2022-36031 Directus is a free and open-source data platform for headless content management. vulnerability
Weakness · CWE (1)
- CWE-755 Improper Handling of Exceptional Conditions weakness