CVE-2024-39324: Aimeos/ai admin graphql Aimeos/ai-admin-graphql Improper Access Control Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-jj68-cp4v-98qf
CVSS 3.8
CWE-1220 CWE-863
Published
Advisory Summary

CVE-2024-39324 is a LOW (CVSS 3.8) aimeos/ai-admin-graphql improper access control vulnerability vulnerability (CWE-1220: Insufficient Granularity of Access Control) affecting Aimeos/ai admin graphql libraries in the Packagist ecosystem. The issue involves aimeos/ai-admin-graphql improper access control vulnerability allows editors to manage own services. Remediation is available by upgrading affected packages to version 2022.10.10, 2023.10.6, 2024.04.2.

CVE-2024-39324 at a Glance

CVE Identifier CVE-2024-39324
GHSA Identifier GHSA-jj68-cp4v-98qf
Severity LOW
CVSS v3.1 Base Score 3.8
CWE Classification CWE-1220: Insufficient Granularity of Access Control
Affected Product Aimeos/ai admin graphql
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.8

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

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

How to Fix CVE-2024-39324

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

aimeos/ai-admin-graphql fixed: 2022.10.10
Upgrade aimeos/ai-admin-graphql to 2022.10.10
aimeos/ai-admin-graphql fixed: 2023.10.6
Upgrade aimeos/ai-admin-graphql to 2023.10.6
aimeos/ai-admin-graphql fixed: 2024.04.2
Upgrade aimeos/ai-admin-graphql to 2024.04.2
Verify Direct and Transitive Dependencies

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

inspect dependencies for aimeos/ai-admin-graphql

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-39324, inspect your project dependencies for Aimeos/ai admin graphql:

inspect dependencies for aimeos/ai-admin-graphql

Analyze the terminal output to locate any version of Aimeos/ai admin graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2022.10.10), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1220: Insufficient Granularity of Access Control, where the product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. however, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets. In Aimeos/ai admin graphql, 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

aimeos/ai-admin-graphql is the Aimeos GraphQL API admin interface. Starting in version 2022.04.1 and prior to versions 2022.10.10, 2023.10.6, and 2024.4.2, improper access control allows a editors to manage own services via GraphQL API which isn't allowed in the JQAdm front end. Versions 2022.10.10, 2023.10.6, and 2024.4.2 contain a patch for the issue.

CVE-2024-39324 Affected Aimeos/ai admin graphql Versions

3 component(s)
Fixed Versions:
2022.10.102023.10.62024.04.2
Product / Package Ecosystem Affected Versions Fixed Version
aimeos/ai-admin-graphql
Packagist
≥ 2022.04.1
< 2022.10.10
2022.10.10
aimeos/ai-admin-graphql
Packagist
≥ 2023.04.1
< 2023.10.6
2023.10.6
aimeos/ai-admin-graphql
Packagist
≥ 2024.04.1
< 2024.04.2
All 1 versions
2024.04.1
2024.04.2

References

Frequently Asked Questions

What is CVE-2024-39324?
CVE-2024-39324 is a security vulnerability in Aimeos/ai admin graphql involving aimeos/ai-admin-graphql improper access control vulnerability allows editors to manage own services under CWE-1220: Insufficient Granularity of Access Control.
Which Aimeos/ai admin graphql versions are affected?
Affected versions include releases prior to 2022.10.10, 2023.10.6, 2024.04.2 across affected packages: aimeos/ai-admin-graphql.
What version fixes CVE-2024-39324?
Upgrading to 2022.10.10, 2023.10.6, 2024.04.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aimeos/ai-admin-graphql affected?
Yes, aimeos/ai-admin-graphql is affected in releases prior to 2022.10.10, 2023.10.6, 2024.04.2. Upgrade your dependency to 2022.10.10, 2023.10.6, 2024.04.2 or later.
What is the CVSS score of CVE-2024-39324?
CVE-2024-39324 has a CVSS v3.1 base score of 3.8 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L.
What CWE is associated with CVE-2024-39324?
CVE-2024-39324 is classified under CWE-1220: Insufficient Granularity of Access Control (The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.).
How can I check Packagist dependencies for CVE-2024-39324?
Run the dependency tree command: 'inspect dependencies for aimeos/ai-admin-graphql'. 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-jj68-cp4v-98qf",
  "modified" : "2024-07-05T21:27:07Z",
  "published" : "2024-07-02T21:20:55Z",
  "aliases" : [ "CVE-2024-39324" ],
  "summary" : "aimeos/ai-admin-graphql improper access control vulnerability allows editors to manage own services",
  "details" : "aimeos/ai-admin-graphql is the Aimeos GraphQL API admin interface. Starting in version 2022.04.1 and prior to versions 2022.10.10, 2023.10.6, and 2024.4.2, improper access control allows a editors to manage own services via GraphQL API which isn't allowed in the JQAdm front end. Versions 2022.10.10, 2023.10.6, and 2024.4.2 contain a patch for the issue.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2022.04.1"
      }, {
        "fixed" : "2022.10.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2023.04.1"
      }, {
        "fixed" : "2023.10.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.04.1"
      }, {
        "fixed" : "2024.04.2"
      } ]
    } ],
    "versions" : [ "2024.04.1" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/security/advisories/GHSA-jj68-cp4v-98qf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-39324"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/4eabc2b973509ffa5924e7f88c8f87ee96e93b38"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/687059d7eb2e1d55a09ed72dad3814f35edad038"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/a839a5adf16fee4221d444b7d2f5140d8cabf0ac"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/acbb044620f4ff8e8d78a775cd205ec47cf119b3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aimeos/ai-admin-graphql"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1220", "CWE-863" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-02T21:20:55Z",
    "nvd_published_at" : "2024-07-02T21:15:11Z"
  }
}