Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/240474?format=api",
    "purl": "pkg:apk/alpine/radare2@4.5.1-r0?arch=x86&distroversion=v3.20&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "radare2",
    "version": "4.5.1-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.20",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.4.0-r0",
    "latest_non_vulnerable_version": "5.8.2-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/218954?format=api",
            "vulnerability_id": "VCID-5c1u-5h9p-7faz",
            "summary": "radare2 4.5.0 misparses DWARF information in executable files, causing a segmentation fault in parse_typedef in type_dwarf.c via a malformed DW_AT_name in the .debug_info section.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-16269",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.57284",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-16269"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/240474?format=api",
                    "purl": "pkg:apk/alpine/radare2@4.5.1-r0?arch=x86&distroversion=v3.20&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/radare2@4.5.1-r0%3Farch=x86&distroversion=v3.20&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-16269"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5c1u-5h9p-7faz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/radare2@4.5.1-r0%3Farch=x86&distroversion=v3.20&reponame=community"
}