Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Monospace | Directus | >= 9.23.0, < 10.6.0 |
Related Weaknesses (CWE)
References
- https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjmExploitThird Party Advisory
- https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjmExploitThird Party Advisory
FAQ
What is CVE-2024-39701?
CVE-2024-39701 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 ...
How severe is CVE-2024-39701?
CVE-2024-39701 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-39701?
Check the references section above for vendor advisories and patch information. Affected products include: Monospace Directus.