CVE-2024-39319: Aimeos/ai controller frontend IDOR Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-rw3j-574h-mrcq
CVSS 5.3
CWE-639
Published
Advisory Summary

CVE-2024-39319 is a MODERATE (CVSS 5.3) idor vulnerability vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Aimeos/ai controller frontend libraries in the Packagist ecosystem. The issue involves idor vulnerability in account profile page. Remediation is available by upgrading affected packages to version 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15.

CVE-2024-39319 at a Glance

CVE Identifier CVE-2024-39319
GHSA Identifier GHSA-rw3j-574h-mrcq
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Aimeos/ai controller frontend
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2024-39319

To remediate this vulnerability, upgrade all affected Aimeos/ai controller frontend 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-controller-frontend fixed: 2024.04.2
Upgrade aimeos/ai-controller-frontend to 2024.04.2
aimeos/ai-controller-frontend fixed: 2023.10.9
Upgrade aimeos/ai-controller-frontend to 2023.10.9
aimeos/ai-controller-frontend fixed: 2022.10.8
Upgrade aimeos/ai-controller-frontend to 2022.10.8
aimeos/ai-controller-frontend fixed: 2021.10.8
Upgrade aimeos/ai-controller-frontend to 2021.10.8
aimeos/ai-controller-frontend fixed: 2020.10.15
Upgrade aimeos/ai-controller-frontend to 2020.10.15
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-controller-frontend

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-39319, inspect your project dependencies for Aimeos/ai controller frontend:

inspect dependencies for aimeos/ai-controller-frontend

Analyze the terminal output to locate any version of Aimeos/ai controller frontend 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-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 Aimeos/ai controller frontend, 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

### Impact Insecure direct object reference allowing an attacker to disable subscriptions and reviews of another customer

CVE-2024-39319 Affected Aimeos/ai controller frontend Versions

5 component(s)
Fixed Versions:
2024.04.22023.10.92022.10.82021.10.82020.10.15
Product / Package Ecosystem Affected Versions Fixed Version
aimeos/ai-controller-frontend
Packagist
≥ 2024.04.1
< 2024.04.2
All 1 versions
2024.04.1
2024.04.2
aimeos/ai-controller-frontend
Packagist
≥ 2023.04.1
< 2023.10.9
2023.10.9
aimeos/ai-controller-frontend
Packagist
≥ 2022.04.1
< 2022.10.8
2022.10.8
aimeos/ai-controller-frontend
Packagist
≥ 2021.04.1
< 2021.10.8
2021.10.8
aimeos/ai-controller-frontend
Packagist
< 2020.10.15
2020.10.15

References

GitHub Advisory / Wiki ADVISORY
https://github.com/aimeos/ai-controller-frontend/security/advisories/GHSA-rw3j-574h-mrcq
NVD — CVE-2024-39319 NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-39319
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/2ad5c062a629af374da470a319914c321c9bfee2
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/53eebdc51fae34440dfd768a7811c169c7779aa9
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/5833db6d18a889b94dc036dfb84b6f5cca73fbac
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/6ea6b82f5a1fc18c574cb6f97225930d139b14a5
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/700da5ea2b622724b68c8684346bf74ac3bbca9b
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/7c93139f86eff9ec26b117a8918e06ce6cc0000f
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/ae7baa3f2fbf594c2c1e4b1aae83364a84b241a6
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/cd8c95aa4663f54bd66a69c5952f2e42405426f3
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/d4eac06f3a25330c089d8be4397f2ab1936dd9bb
Security Fix Commit FIX COMMIT
https://github.com/aimeos/ai-controller-frontend/commit/f7c6a9ce2a6f5a9ad4af31313508870a78398f85
Aimeos/ai controller frontend Source Repository REPOSITORY
https://github.com/aimeos/ai-controller-frontend

Frequently Asked Questions

What is CVE-2024-39319?
CVE-2024-39319 is a security vulnerability in Aimeos/ai controller frontend involving IDOR vulnerability in account profile page under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Aimeos/ai controller frontend versions are affected?
Affected versions include releases prior to 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15 across affected packages: aimeos/ai-controller-frontend.
What version fixes CVE-2024-39319?
Upgrading to 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aimeos/ai-controller-frontend affected?
Yes, aimeos/ai-controller-frontend is affected in releases prior to 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15. Upgrade your dependency to 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15 or later.
What is the CVSS score of CVE-2024-39319?
CVE-2024-39319 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2024-39319?
CVE-2024-39319 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 Packagist dependencies for CVE-2024-39319?
Run the dependency tree command: 'inspect dependencies for aimeos/ai-controller-frontend'. 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-rw3j-574h-mrcq",
  "modified" : "2025-03-05T15:45:34Z",
  "published" : "2024-09-26T17:38:30Z",
  "aliases" : [ "CVE-2024-39319" ],
  "summary" : "IDOR vulnerability in account profile page",
  "details" : "### Impact\nInsecure direct object reference allowing an attacker to disable subscriptions and reviews of another customer",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-controller-frontend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.04.1"
      }, {
        "fixed" : "2024.04.2"
      } ]
    } ],
    "versions" : [ "2024.04.1" ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-controller-frontend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2023.04.1"
      }, {
        "fixed" : "2023.10.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-controller-frontend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2022.04.1"
      }, {
        "fixed" : "2022.10.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-controller-frontend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2021.04.1"
      }, {
        "fixed" : "2021.10.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-controller-frontend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2020.10.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/security/advisories/GHSA-rw3j-574h-mrcq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-39319"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/2ad5c062a629af374da470a319914c321c9bfee2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/53eebdc51fae34440dfd768a7811c169c7779aa9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/5833db6d18a889b94dc036dfb84b6f5cca73fbac"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/6ea6b82f5a1fc18c574cb6f97225930d139b14a5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/700da5ea2b622724b68c8684346bf74ac3bbca9b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/7c93139f86eff9ec26b117a8918e06ce6cc0000f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/ae7baa3f2fbf594c2c1e4b1aae83364a84b241a6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/cd8c95aa4663f54bd66a69c5952f2e42405426f3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/d4eac06f3a25330c089d8be4397f2ab1936dd9bb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/f7c6a9ce2a6f5a9ad4af31313508870a78398f85"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aimeos/ai-controller-frontend"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-26T17:38:30Z",
    "nvd_published_at" : "2024-09-26T16:15:07Z"
  }
}