Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/46814?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46814?format=api",
    "vulnerability_id": "VCID-gp8m-rczn-5uat",
    "summary": "Improper Access Control\nThe 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.",
    "aliases": [
        {
            "alias": "CVE-2024-21666"
        },
        {
            "alias": "GHSA-c38c-c8mh-vq68"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68479?format=api",
            "purl": "pkg:composer/pimcore/customer-management-framework-bundle@4.0.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/pimcore/customer-management-framework-bundle@4.0.6"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43"
        },
        {
            "reference_url": "https://github.com/pimcore/customer-data-framework/commit/c33c0048390ef0cf98b801d46a81d0762243baa6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/customer-data-framework/commit/c33c0048390ef0cf98b801d46a81d0762243baa6"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-c38c-c8mh-vq68",
            "reference_id": "GHSA-c38c-c8mh-vq68",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-c38c-c8mh-vq68"
        },
        {
            "reference_url": "https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-c38c-c8mh-vq68",
            "reference_id": "GHSA-c38c-c8mh-vq68",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-c38c-c8mh-vq68"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gp8m-rczn-5uat"
}