GHSA-q83v-hq3j-4pq3: Duplicate Advisory Improper Access Control Vulnerability

MODERATE
CVSS 4.1
CWE-639
Published
Advisory Summary

GHSA-q83v-hq3j-4pq3 is a MODERATE (CVSS 4.1) improper access control vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves improper access control in directus. Remediation is available in the latest vendor maintenance releases.

GHSA-q83v-hq3j-4pq3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-q83v-hq3j-4pq3
Severity MODERATE
CVSS v3.1 Base Score 4.1
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-q83v-hq3j-4pq3

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

directus fixed: Latest secure release
npm install directus@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls directus

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-q83v-hq3j-4pq3, inspect your project dependencies using npm:

npm ls directus

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls directus command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-3fff-gqw3-vj86. This link is maintained to preserve external references. ## Original Description Directus v10.13.0 allows an authenticated external attacker to modify presets created by the same user to assign them to another user. This is possible because the application only validates the user parameter in the 'POST /presets' request but not in the PATCH request. When chained with CVE-2024-6533, it could result in account takeover.

GHSA-q83v-hq3j-4pq3 Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
directus
npm
≤ 10.13.0

References

Frequently Asked Questions

What is GHSA-q83v-hq3j-4pq3?
GHSA-q83v-hq3j-4pq3 is a security vulnerability in Duplicate Advisory involving Improper access control in Directus under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: directus.
What version fixes GHSA-q83v-hq3j-4pq3?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is directus affected?
Yes, directus is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-q83v-hq3j-4pq3?
GHSA-q83v-hq3j-4pq3 has a CVSS v3.1 base score of 4.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N.
What CWE is associated with GHSA-q83v-hq3j-4pq3?
GHSA-q83v-hq3j-4pq3 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check npm dependencies for GHSA-q83v-hq3j-4pq3?
Run the dependency tree command: 'npm ls directus'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q83v-hq3j-4pq3",
  "modified" : "2025-03-20T18:34:46Z",
  "published" : "2024-08-15T06:32:22Z",
  "withdrawn" : "2025-03-20T18:34:46Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Improper access control in Directus",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-3fff-gqw3-vj86. This link is maintained to preserve external references.\n\n## Original Description\nDirectus v10.13.0 allows an authenticated external attacker to modify presets created by the same user to assign them to another user. This is possible because the application only validates the user parameter in the 'POST /presets' request but not in the PATCH request. When chained with CVE-2024-6533, it could result in account takeover.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "directus"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "10.13.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6534"
  }, {
    "type" : "WEB",
    "url" : "https://directus.io"
  }, {
    "type" : "WEB",
    "url" : "https://fluidattacks.com/advisories/capaldi"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/directus/directus"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-15T21:56:16Z",
    "nvd_published_at" : "2024-08-15T04:15:07Z"
  }
}