CVE-2024-39325: Aimeos/ai controller frontend Ai-controller-frontend Payment Status Vulnerability

MODERATE
Advisory Identifier: GHSA-m9gv-6p22-qgmj
CVSS 5.3
CWE-841
Published
Advisory Summary

CVE-2024-39325 is a MODERATE (CVSS 5.3) ai-controller-frontend payment status vulnerability (CWE-841: Improper Enforcement of Behavioral Workflow) affecting Aimeos/ai controller frontend libraries in the Packagist ecosystem. The issue involves ai-controller-frontend payment status in basket isn't reset. Remediation is available by upgrading affected packages to version 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15.

CVE-2024-39325 at a Glance

CVE Identifier CVE-2024-39325
GHSA Identifier GHSA-m9gv-6p22-qgmj
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-841: Improper Enforcement of Behavioral Workflow
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.1/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-39325

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: 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-39325, 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 2023.10.9), 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-841: Improper Enforcement of Behavioral Workflow, where the product supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence. 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 Payment status in basket isn't reset

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

4 component(s)
Fixed Versions:
2023.10.92022.10.82021.10.82020.10.15
Product / Package Ecosystem Affected Versions Fixed Version
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

Frequently Asked Questions

What is CVE-2024-39325?
CVE-2024-39325 is a security vulnerability in Aimeos/ai controller frontend involving ai-controller-frontend payment status in basket isn't reset under CWE-841: Improper Enforcement of Behavioral Workflow.
Which Aimeos/ai controller frontend versions are affected?
Affected versions include releases prior to 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15 across affected packages: aimeos/ai-controller-frontend.
What version fixes CVE-2024-39325?
Upgrading to 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 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15. Upgrade your dependency to 2023.10.9, 2022.10.8, 2021.10.8, 2020.10.15 or later.
What is the CVSS score of CVE-2024-39325?
CVE-2024-39325 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2024-39325?
CVE-2024-39325 is classified under CWE-841: Improper Enforcement of Behavioral Workflow (The product supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence.).
How can I check Packagist dependencies for CVE-2024-39325?
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-m9gv-6p22-qgmj",
  "modified" : "2024-07-05T20:08:44Z",
  "published" : "2024-07-05T20:08:44Z",
  "aliases" : [ "CVE-2024-39325" ],
  "summary" : "ai-controller-frontend payment status in basket isn't reset",
  "details" : "### Impact\nPayment status in basket isn't reset\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "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-m9gv-6p22-qgmj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-39325"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/16b8837d2466e3665b3c826ce87934b01a847268"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/24a57001e56759d1582d2a0080fc1ca3ba328630"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/28549808e0f6432a34cd3fb95556deeb86ca276d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/b1960c0b6e5ee93111a5360c9ce949b3e7528cf7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-controller-frontend/commit/dafa072783bb692f111ed092d9d2932c113eb855"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aimeos/ai-controller-frontend"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-841" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-05T20:08:44Z",
    "nvd_published_at" : "2024-07-02T21:15:11Z"
  }
}