CVE-2024-39322: Aimeos/ai admin jsonadm Aimeos/ai-admin-jsonadm Improper Access Control Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-8fj2-587w-5whr
CVSS 5.5
CWE-863
Published
Advisory Summary

CVE-2024-39322 is a MODERATE (CVSS 5.5) aimeos/ai-admin-jsonadm improper access control vulnerability vulnerability (CWE-863: Incorrect Authorization) affecting Aimeos/ai admin jsonadm libraries in the Packagist ecosystem. The issue involves aimeos/ai-admin-jsonadm improper access control vulnerability allows editors to remove required records. Remediation is available by upgrading affected packages to version 2024.04.2, 2023.10.4, 2022.10.3, 2021.10.6, 2020.10.13.

CVE-2024-39322 at a Glance

CVE Identifier CVE-2024-39322
GHSA Identifier GHSA-8fj2-587w-5whr
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-863: Incorrect Authorization
Affected Product Aimeos/ai admin jsonadm
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.5

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:H).

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 High (A:H)

How to Fix CVE-2024-39322

To remediate this vulnerability, upgrade all affected Aimeos/ai admin jsonadm 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-jsonadm fixed: 2024.04.2
Upgrade aimeos/ai-admin-jsonadm to 2024.04.2
aimeos/ai-admin-jsonadm fixed: 2023.10.4
Upgrade aimeos/ai-admin-jsonadm to 2023.10.4
aimeos/ai-admin-jsonadm fixed: 2022.10.3
Upgrade aimeos/ai-admin-jsonadm to 2022.10.3
aimeos/ai-admin-jsonadm fixed: 2021.10.6
Upgrade aimeos/ai-admin-jsonadm to 2021.10.6
aimeos/ai-admin-jsonadm fixed: 2020.10.13
Upgrade aimeos/ai-admin-jsonadm to 2020.10.13
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-jsonadm

How to Check if You Are Affected

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

inspect dependencies for aimeos/ai-admin-jsonadm

Analyze the terminal output to locate any version of Aimeos/ai admin jsonadm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2024.04.2), 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Aimeos/ai admin jsonadm, 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

Improper access control allows editors to remove admin group and locale configuration in Aimeos backend

CVE-2024-39322 Affected Aimeos/ai admin jsonadm Versions

5 component(s)
Fixed Versions:
2024.04.22023.10.42022.10.32021.10.62020.10.13
Product / Package Ecosystem Affected Versions Fixed Version
aimeos/ai-admin-jsonadm
Packagist
≥ 2024.04.1
< 2024.04.2
All 1 versions
2024.04.1
2024.04.2
aimeos/ai-admin-jsonadm
Packagist
≥ 2023.04.1
< 2023.10.4
2023.10.4
aimeos/ai-admin-jsonadm
Packagist
≥ 2022.04.1
< 2022.10.3
2022.10.3
aimeos/ai-admin-jsonadm
Packagist
≥ 2021.04.1
< 2021.10.6
2021.10.6
aimeos/ai-admin-jsonadm
Packagist
< 2020.10.13
2020.10.13

References

Frequently Asked Questions

What is CVE-2024-39322?
CVE-2024-39322 is a security vulnerability in Aimeos/ai admin jsonadm involving aimeos/ai-admin-jsonadm improper access control vulnerability allows editors to remove required records under CWE-863: Incorrect Authorization.
Which Aimeos/ai admin jsonadm versions are affected?
Affected versions include releases prior to 2024.04.2, 2023.10.4, 2022.10.3, 2021.10.6, 2020.10.13 across affected packages: aimeos/ai-admin-jsonadm.
What version fixes CVE-2024-39322?
Upgrading to 2024.04.2, 2023.10.4, 2022.10.3, 2021.10.6, 2020.10.13 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aimeos/ai-admin-jsonadm affected?
Yes, aimeos/ai-admin-jsonadm is affected in releases prior to 2024.04.2, 2023.10.4, 2022.10.3, 2021.10.6, 2020.10.13. Upgrade your dependency to 2024.04.2, 2023.10.4, 2022.10.3, 2021.10.6, 2020.10.13 or later.
What is the CVSS score of CVE-2024-39322?
CVE-2024-39322 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H.
What CWE is associated with CVE-2024-39322?
CVE-2024-39322 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Packagist dependencies for CVE-2024-39322?
Run the dependency tree command: 'inspect dependencies for aimeos/ai-admin-jsonadm'. 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-8fj2-587w-5whr",
  "modified" : "2024-07-05T18:08:13Z",
  "published" : "2024-07-02T21:21:17Z",
  "aliases" : [ "CVE-2024-39322" ],
  "summary" : "aimeos/ai-admin-jsonadm improper access control vulnerability allows editors to remove required records",
  "details" : "Improper access control allows editors to remove admin group and locale configuration in Aimeos backend\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-jsonadm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.04.1"
      }, {
        "fixed" : "2024.04.2"
      } ]
    } ],
    "versions" : [ "2024.04.1" ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-jsonadm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2023.04.1"
      }, {
        "fixed" : "2023.10.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-jsonadm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2022.04.1"
      }, {
        "fixed" : "2022.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-jsonadm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2021.04.1"
      }, {
        "fixed" : "2021.10.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-jsonadm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2020.10.13"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm/security/advisories/GHSA-8fj2-587w-5whr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-39322"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm/commit/02a063fbd616d4e0a5aaf89f1642a856aa5ac5a5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm/commit/16d013d0e28cecd19781f434d83fabebcc78cdc2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm/commit/4c966e02bd52589c3c9382777cfe170eddf17b00"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm/commit/640954243ce85c2c303a00dd6481ed39b3d218fb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm/commit/7d1c05e8368b0a6419820fe402deac9960500026"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aimeos/ai-admin-jsonadm"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-02T21:21:17Z",
    "nvd_published_at" : "2024-07-02T21:15:10Z"
  }
}