{"answers":{"affected":"8 open source packages ship an affected version, including aimeos/ai-controller-frontend. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-39325 in the wild and no public exploit code.","fix":"Upgrade aimeos/ai-controller-frontend to a fixed version for your release line: 2020.10.15, 2021.10.8, 2022.10.8 or 2023.10.9.","what":"CVE-2024-39325 is a medium-severity vulnerability in aimeos ai-controller-frontend, published on 2 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-39325 and fix it if it is affected.\n\nWhat it is: CVE-2024-39325 is a medium-severity vulnerability in aimeos ai-controller-frontend, published on 2 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-39325 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aimeos/ai-controller-frontend (Packagist): affected all versions; fixed in 2020.10.15\n- aimeos/ai-controller-frontend (Packagist): affected all versions; fixed in 2020.10.15\n- aimeos/ai-controller-frontend (Packagist): affected from 2021.04.1; fixed in 2021.10.8\n- aimeos/ai-controller-frontend (Packagist): affected from 2021.04.1; fixed in 2021.10.8\n- aimeos/ai-controller-frontend (Packagist): affected from 2022.04.1; fixed in 2022.10.8\n- aimeos/ai-controller-frontend (Packagist): affected from 2022.04.1; fixed in 2022.10.8\n- aimeos/ai-controller-frontend (Packagist): affected from 2023.04.1; fixed in 2023.10.9\n- aimeos/ai-controller-frontend (Packagist): affected from 2023.04.1; fixed in 2023.10.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-39325/ (Markdown: https://insights.sbomify.com/CVE-2024-39325/index.md)","id":"CVE-2024-39325","markdown":"https://insights.sbomify.com/CVE-2024-39325/index.md","name":"CVE-2024-39325","record":{"aliases":["GHSA-m9gv-6p22-qgmj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Aimeos frontend controller","requires_auth":"none","summary":"Attackers can manipulate basket payment status after purchase due to missing reset logic, potentially leading to unauthorized state changes.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"aimeos_frontend_controller","vendor":"aimeos"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-841","name":"Improper Enforcement of Behavioral Workflow"}],"description":"aimeos/ai-controller-frontend is the  Aimeos frontend controller. Prior to versions 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, and 2020.10.15, aimeos/ai-controller-frontend doesn't reset the payment status of a user's basket after the user completes a purchase. Versions 2024.04.2, 2023.10.9, 2022.10.8, 2021.10.8, and 2020.10.15 fix this issue.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"aimeos/ai-controller-frontend doesn't reset payment status in basket","id":"CVE-2024-39325","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":8,"n_references":6,"next":{"headline":"SkillTree CSRF Vulnerability allows an attacker to modify the Video and Captions of a Skill","id":"CVE-2024-39326"},"packages":[{"ecosystem":"Packagist","fixed":["2020.10.15"],"introduced":["0"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":null,"source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2020.10.15"],"introduced":["0"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":"pkg:composer/aimeos/ai-controller-frontend","source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2021.10.8"],"introduced":["2021.04.1"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":null,"source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2021.10.8"],"introduced":["2021.04.1"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":"pkg:composer/aimeos/ai-controller-frontend","source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2022.10.8"],"introduced":["2022.04.1"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":null,"source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2022.10.8"],"introduced":["2022.04.1"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":"pkg:composer/aimeos/ai-controller-frontend","source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2023.10.9"],"introduced":["2023.04.1"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":null,"source":"GHSA-m9gv-6p22-qgmj"},{"ecosystem":"Packagist","fixed":["2023.10.9"],"introduced":["2023.04.1"],"last_affected":[],"package":"aimeos/ai-controller-frontend","purl":"pkg:composer/aimeos/ai-controller-frontend","source":"GHSA-m9gv-6p22-qgmj"}],"prev":{"headline":"aimeos/ai-admin-graphql improper access control vulnerability allows editors to manage own services","id":"CVE-2024-39324"},"products":["ai-controller-frontend"],"published":"2024-07-02","related":[{"cvss_score":5.3,"headline":"aimeos/ai-controller-frontend has IDOR vulnerability in account profile page","id":"CVE-2024-39319","kev_date_added":null,"published":"2024-09-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["aimeos"]},"summary":"Attackers can manipulate basket payment status after purchase due to missing reset logic, potentially leading to unauthorized state changes.","url":"https://insights.sbomify.com/CVE-2024-39325/"}