Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11033?format=api",
    "purl": "pkg:alpm/archlinux/weechat@3.2-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "weechat",
    "version": "3.2-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.2.1-1",
    "latest_non_vulnerable_version": "3.2.1-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/197576?format=api",
            "vulnerability_id": "VCID-du3j-b27c-zqb3",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40516",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00975",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7711",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00975",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77181",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40516"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40516",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40516"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993803",
                    "reference_id": "993803",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993803"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2365",
                    "reference_id": "AVG-2365",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2365"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-5258-1/",
                    "reference_id": "USN-USN-5258-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-5258-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11034?format=api",
                    "purl": "pkg:alpm/archlinux/weechat@3.2.1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/weechat@3.2.1-1"
                }
            ],
            "aliases": [
                "CVE-2021-40516"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-du3j-b27c-zqb3"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/weechat@3.2-1"
}