{"answers":{"affected":"8 open source packages ship an affected version, including @directus/api and directus. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-46990 in the wild and no public exploit code.","fix":"Upgrade @directus/api to a fixed version for your release line: 21.0.0 or 22.1.1.","what":"CVE-2024-46990 is a medium-severity server-side request forgery vulnerability in Monospace Directus, published on 18 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-46990 and fix it if it is affected.\n\nWhat it is: CVE-2024-46990 is a medium-severity server-side request forgery vulnerability in Monospace Directus, published on 18 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-46990 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @directus/api (npm): affected all versions; fixed in 21.0.0\n- @directus/api (npm): affected all versions; fixed in 21.0.0\n- @directus/api (npm): affected from 22.0.0; fixed in 22.1.1\n- @directus/api (npm): affected from 22.0.0; fixed in 22.1.1\n- directus (npm): affected all versions; fixed in 10.13.3\n- directus (npm): affected all versions; fixed in 10.13.3\n- directus (npm): affected from 11.0.0; fixed in 11.1.0\n- directus (npm): affected from 11.0.0; fixed in 11.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-46990/ (Markdown: https://insights.sbomify.com/CVE-2024-46990/index.md)","id":"CVE-2024-46990","markdown":"https://insights.sbomify.com/CVE-2024-46990/index.md","name":"CVE-2024-46990","record":{"aliases":["GHSA-68g8-c275-xf2m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Directus headless CMS","requires_auth":"low_privilege","summary":"Attackers can bypass loopback IP filters in Directus to access internal services via alternative loopback addresses, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"directus","vendor":"monospace"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"Directus is a real-time API and App dashboard for managing SQL database content. When relying on blocking access to localhost using the default `0.0.0.0` filter a user may bypass this block by using other registered loopback devices (like `127.0.0.2` - `127.127.127.127`). This issue has been addressed in release versions 10.13.3 and 11.1.0. Users are advised to upgrade. Users unable to upgrade may block this bypass by manually adding the `127.0.0.0/8` CIDR range which will block access to any `127.X.X.X` ip instead of just `127.0.0.1`.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SSRF Loopback IP filter bypass in directus","id":"CVE-2024-46990","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"monospace:directus","products":["monospace:directus"],"type":"ssrf","year":"2024"},"n_packages":8,"n_references":5,"next":{"headline":"Electron ASAR Integrity bypass by just modifying the content","id":"CVE-2024-46992"},"packages":[{"ecosystem":"npm","fixed":["21.0.0"],"introduced":["0"],"last_affected":[],"package":"@directus/api","purl":null,"source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["21.0.0"],"introduced":["0"],"last_affected":[],"package":"@directus/api","purl":"pkg:npm/%40directus/api","source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["22.1.1"],"introduced":["22.0.0"],"last_affected":[],"package":"@directus/api","purl":null,"source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["22.1.1"],"introduced":["22.0.0"],"last_affected":[],"package":"@directus/api","purl":"pkg:npm/%40directus/api","source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["10.13.3"],"introduced":["0"],"last_affected":[],"package":"directus","purl":null,"source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["10.13.3"],"introduced":["0"],"last_affected":[],"package":"directus","purl":"pkg:npm/directus","source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["11.1.0"],"introduced":["11.0.0"],"last_affected":[],"package":"directus","purl":null,"source":"GHSA-68g8-c275-xf2m"},{"ecosystem":"npm","fixed":["11.1.0"],"introduced":["11.0.0"],"last_affected":[],"package":"directus","purl":"pkg:npm/directus","source":"GHSA-68g8-c275-xf2m"}],"prev":{"headline":"Multiple caveats on resources of the same type can result in no permission when permission is expected","id":"CVE-2024-46989"},"products":["directus"],"published":"2024-09-18","related":[{"cvss_score":9.8,"headline":"Insecure default value for CORS configuration","id":"CVE-2022-26969","kev_date_added":null,"published":"2022-12-26"},{"cvss_score":9.3,"headline":"Directus allows unauthenticated file upload and file modification due to lacking input sanitization","id":"CVE-2025-55746","kev_date_added":null,"published":"2025-08-20"},{"cvss_score":8.7,"headline":"Directus is Missing Cross-Origin Opener Policy","id":"CVE-2026-35408","kev_date_added":null,"published":"2026-04-06"},{"cvss_score":8.6,"headline":"Directus: Authorization-dependent response served from unsegmented cache key","id":"CVE-2026-61836","kev_date_added":null,"published":"2026-07-15"},{"cvss_score":8.6,"headline":"Directus's webhook trigger flows can leak sensitive data","id":"CVE-2025-30353","kev_date_added":null,"published":"2025-03-26"},{"cvss_score":8.5,"headline":"Directus has a Path Traversal and Broken Access Control in File Management API","id":"CVE-2026-39942","kev_date_added":null,"published":"2026-04-09"},{"cvss_score":8.2,"headline":"Directus MySQL accent insensitive email matching","id":"CVE-2024-27295","kev_date_added":null,"published":"2024-03-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-18","vendors":["directus"]},"summary":"Attackers can bypass loopback IP filters in Directus to access internal services via alternative loopback addresses, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2024-46990/"}