Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3475?format=api",
    "purl": "pkg:alpm/archlinux/bitcoin-daemon@22.0-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "bitcoin-daemon",
    "version": "22.0-1",
    "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/6795?format=api",
            "vulnerability_id": "VCID-7bh9-x33n-tyaa",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://security.archlinux.org/AVG-1486",
                    "reference_id": "AVG-1486",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1486"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-31876"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7bh9-x33n-tyaa"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6794?format=api",
            "vulnerability_id": "VCID-vu9v-bejs-pbdh",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://security.archlinux.org/AVG-1486",
                    "reference_id": "AVG-1486",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1486"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-3195"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vu9v-bejs-pbdh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/bitcoin-daemon@22.0-1"
}