Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67771?format=api",
    "purl": "pkg:composer/opencart/opencart@4.0.2%2B3",
    "type": "composer",
    "namespace": "opencart",
    "name": "opencart",
    "version": "4.0.2+3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46408?format=api",
            "vulnerability_id": "VCID-7qge-6s12-ybhr",
            "summary": "Improper Control of Generation of Code ('Code Injection')\nAn issue discovered in OpenCart 4.0.0.0 to 4.0.2.3 allows authenticated backend users having common/security write privilege can write arbitrary untrusted data inside config.php and admin/config.php, resulting in remote code execution on the underlying server.",
            "references": [
                {
                    "reference_url": "https://0xbro.red/disclosures/disclosed-vulnerabilities/opencart-cve-2023-47444/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://0xbro.red/disclosures/disclosed-vulnerabilities/opencart-cve-2023-47444/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47444",
                    "reference_id": "CVE-2023-47444",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47444"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-47444"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7qge-6s12-ybhr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/opencart/opencart@4.0.2%252B3"
}