Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45087?format=api",
    "vulnerability_id": "VCID-6p5t-7h74-gueh",
    "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nPath Traversal in GitHub repository pimcore/pimcore prior to 10.5.21.",
    "aliases": [
        {
            "alias": "CVE-2023-2336"
        },
        {
            "alias": "GHSA-hg77-vx9v-f49x"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65004?format=api",
            "purl": "pkg:composer/pimcore/pimcore@10.5.21",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/pimcore/pimcore@10.5.21"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4"
        },
        {
            "reference_url": "https://huntr.dev/bounties/af764624-7746-4f53-8480-85348dbb4f14",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.dev/bounties/af764624-7746-4f53-8480-85348dbb4f14"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-2336",
            "reference_id": "CVE-2023-2336",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-2336"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hg77-vx9v-f49x",
            "reference_id": "GHSA-hg77-vx9v-f49x",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-hg77-vx9v-f49x"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-hg77-vx9v-f49x",
            "reference_id": "GHSA-hg77-vx9v-f49x",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-hg77-vx9v-f49x"
        }
    ],
    "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": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "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-6p5t-7h74-gueh"
}