Advisory

GHSA-77qm-wvqq-fg79

Also known as: CVE-2022-36031

Summary

Directus vulnerable to unhandled exception on illegal filename_disk value

Details

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:

Credits

This vulnerability was first discovered and reported by Witold Gorecki.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-30 20:18 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

directus

npm · All systems

Affected

  • introduced 0, fixed 9.15.0 (semver)

Fixed versions

9.15.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences