{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/46862?format=json","vulnerability_id":"VCID-f3pv-2cf5-3bg8","summary":"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.","aliases":[{"alias":"CVE-2024-39701"}],"fixed_packages":[],"affected_packages":[],"references":[{"reference_url":"https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm","reference_id":"GHSA-hxgm-ghmv-xjjm","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-08T19:39:42Z/"}],"url":"https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm"}],"weaknesses":[{"cwe_id":284,"name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."}],"exploits":[],"severity_range_score":"6.3 - 6.3","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-f3pv-2cf5-3bg8"}