HIGH
Directus Incorrectly handles _in` filter
Published Jul 8, 2024
7.0
HIGHCVSS 4.0
EPSS 0.42%
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.
Affected products
-
- Version >= 9.23.0, < 10.6.0StatusaffectedConstraints-
- Version
-
- Version 9.23.0StatusaffectedConstraints<10.6.0
- Version
No Red Hat product state for this CVE.
directus
npm
Introduced 9.23.0 Fixed 10.6.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | directus | 9.23.0 | 10.6.0 |
Remediation
No remediation recorded yet.
Weaknesses (1)
References (4)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2368 Advisory
- https://github.com/advisories/GHSA-hxgm-ghmv-xjjm Advisory
- https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm x_refsource_CONFIRMExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-39701
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2368 | Advisory | |
| https://github.com/advisories/GHSA-hxgm-ghmv-xjjm | Advisory | |
| https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm | x_refsource_CONFIRMExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-39701 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Jul 8, 2024
Updated Aug 2, 2024
Reserved Jun 27, 2024
Link CVE-2024-39701
CISA Vulnrichment
Updated Jul 8, 2024
ENISA EUVD
EUVD-2024-2368 GHSA-HXGM-GHMV-XJJM Assigner GitHub_M
Published Jul 8, 2024
Updated Aug 2, 2024
Exploited since n/a
Link EUVD-2024-2368