High severityNVD Advisory· Published Jul 8, 2024· Updated Aug 2, 2024
Directus Incorrectly handles _in` filter
CVE-2024-39701
Description
Directus is a real-time API and App dashboard for managing SQL database content. Directus >=9.23.0, <=v10.5.3 improperly handles _in, _nin operators. It evaluates empty arrays as valid so expressions like {"role": {"_in": $CURRENT_USER.some_field}} would evaluate to true allowing the request to pass. This results in Broken Access Control because the rule fails to do what it was intended to do: Pass rule if field matches any of the values. This vulnerability is fixed in 10.6.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
directusnpm | >= 9.23.0, < 10.6.0 | 10.6.0 |
Affected products
2Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-hxgm-ghmv-xjjmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-39701ghsaADVISORY
- github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjmghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.