Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64964?format=api",
    "purl": "pkg:composer/contao/core-bundle@4.13.21",
    "type": "composer",
    "namespace": "contao",
    "name": "core-bundle",
    "version": "4.13.21",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.13.28",
    "latest_non_vulnerable_version": "5.6.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45042?format=api",
            "vulnerability_id": "VCID-mt93-hcnp-13ah",
            "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nContao is an open source content management system. Prior to versions 4.9.40, 4.13.21, and 5.1.4, logged in users can list arbitrary system files in the file manager by manipulating the Ajax request. However, it is not possible to read the contents of these files. Users should update to Contao 4.9.40, 4.13.21 or 5.1.4 to receive a patch. There are no known workarounds.",
            "references": [
                {
                    "reference_url": "https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager"
                },
                {
                    "reference_url": "https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager.html"
                },
                {
                    "reference_url": "https://github.com/contao/contao/commit/6f3e705f4ff23f4419563d09d8485793569f31df",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/commit/6f3e705f4ff23f4419563d09d8485793569f31df"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29200",
                    "reference_id": "CVE-2023-29200",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29200"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2023-29200.yaml",
                    "reference_id": "CVE-2023-29200.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2023-29200.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fp7q-xhhw-6rj3",
                    "reference_id": "GHSA-fp7q-xhhw-6rj3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fp7q-xhhw-6rj3"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-fp7q-xhhw-6rj3",
                    "reference_id": "GHSA-fp7q-xhhw-6rj3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-fp7q-xhhw-6rj3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64963?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.40",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.40"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64964?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.13.21",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.13.21"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64965?format=api",
                    "purl": "pkg:composer/contao/core-bundle@5.1.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@5.1.4"
                }
            ],
            "aliases": [
                "CVE-2023-29200",
                "GHSA-fp7q-xhhw-6rj3"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mt93-hcnp-13ah"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.13.21"
}