Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. directus
  4. ›
  5. CVE-2024-39701

CVE-2024-39701: Directus incorrectly handles `_in` filter

July 8, 2024 (updated November 18, 2024)

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.

References

  • github.com/advisories/GHSA-hxgm-ghmv-xjjm
  • github.com/directus/directus
  • github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm
  • nvd.nist.gov/vuln/detail/CVE-2024-39701

Code Behaviors & Features

Detect and mitigate CVE-2024-39701 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 9.23.0 before 10.6.0

Fixed versions

  • 10.6.0

Solution

Upgrade to version 10.6.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

npm/directus/CVE-2024-39701.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.