{"answers":{"affected":"2 open source packages ship an affected version, including pimcore/customer-management-framework-bundle. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21666 exists.","fix":"Upgrade pimcore/customer-management-framework-bundle to 4.0.6 or later.","what":"CVE-2024-21666 is a medium-severity missing authorization vulnerability in pimcore customer-data-framework, published on 11 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21666 and fix it if it is affected.\n\nWhat it is: CVE-2024-21666 is a medium-severity missing authorization vulnerability in pimcore customer-data-framework, published on 11 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21666 exists.\n\nAffected packages and fixed versions:\n- pimcore/customer-management-framework-bundle (Packagist): affected all versions; fixed in 4.0.6\n- pimcore/customer-management-framework-bundle (Packagist): affected all versions; fixed in 4.0.6\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-21666/ (Markdown: https://insights.sbomify.com/CVE-2024-21666/index.md)","id":"CVE-2024-21666","markdown":"https://insights.sbomify.com/CVE-2024-21666/index.md","name":"CVE-2024-21666","record":{"aliases":["GHSA-c38c-c8mh-vq68"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Pimcore Customer Data Framework","requires_auth":"low_privilege","summary":"Unauthenticated or unauthorized users can access customer duplicate lists and view PII due to missing permission checks on the duplicates endpoint.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"customer_management_framework","vendor":"pimcore"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"The Customer Management Framework (CMF) for Pimcore adds functionality for customer data management, segmentation, personalization and marketing automation. An authenticated and unauthorized user can access the list of potential duplicate users and see their data. Permissions are enforced when reaching the `/admin/customermanagementframework/duplicates/list` endpoint allowing an authenticated user without the permissions to access the endpoint and query the data available there. Unauthorized user(s) can access PII data from customers. This vulnerability has been patched in version 4.0.6.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access customers duplicates list","id":"CVE-2024-21666","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access GDPR extracts","id":"CVE-2024-21667"},"packages":[{"ecosystem":"Packagist","fixed":["4.0.6"],"introduced":["0"],"last_affected":[],"package":"pimcore/customer-management-framework-bundle","purl":null,"source":"GHSA-c38c-c8mh-vq68"},{"ecosystem":"Packagist","fixed":["4.0.6"],"introduced":["0"],"last_affected":[],"package":"pimcore/customer-management-framework-bundle","purl":"pkg:composer/pimcore/customer-management-framework-bundle","source":"GHSA-c38c-c8mh-vq68"}],"prev":{"headline":"Pimcore Ecommerce Framework Bundle Improper Access Control allows unprivileged user to access back-office orders list","id":"CVE-2024-21665"},"products":["customer-data-framework"],"published":"2024-01-11","related":[{"cvss_score":6.7,"headline":"Storing Passwords in a Recoverable Format in pimcore/customer-data-framework","id":"CVE-2023-2881","kev_date_added":null,"published":"2023-05-25"},{"cvss_score":6.5,"headline":"Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access GDPR extracts","id":"CVE-2024-21667","kev_date_added":null,"published":"2024-01-11"},{"cvss_score":6.5,"headline":"Cross-site Scripting (XSS) - Stored in pimcore/customer-data-framework","id":"CVE-2023-4145","kev_date_added":null,"published":"2023-08-03"},{"cvss_score":6.5,"headline":"SQL Injection in pimcore/customer-data-framework","id":"CVE-2023-2756","kev_date_added":null,"published":"2023-05-17"},{"cvss_score":6.5,"headline":"Pimcore Customer Data Framework 'SegmentAssignmentController.php' Blind SQL Injection","id":"CVE-2021-31867","kev_date_added":null,"published":"2021-08-04"},{"cvss_score":6.3,"headline":"Improper Authorization in pimcore/customer-data-framework","id":"CVE-2023-3574","kev_date_added":null,"published":"2023-07-10"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-03","vendors":["pimcore"]},"summary":"Unauthenticated or unauthorized users can access customer duplicate lists and view PII due to missing permission checks on the duplicates endpoint.","url":"https://insights.sbomify.com/CVE-2024-21666/"}