Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1335?format=api",
    "purl": "pkg:alpm/archlinux/apr@1.7.0-3",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "apr",
    "version": "1.7.0-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/3438?format=api",
            "vulnerability_id": "VCID-kpzd-zunz-gqau",
            "summary": "information disclosure",
            "references": [
                {
                    "reference_url": "https://security.archlinux.org/AVG-2313",
                    "reference_id": "AVG-2313",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2313"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-35940"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kpzd-zunz-gqau"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/apr@1.7.0-3"
}