Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1352?format=api",
    "purl": "pkg:alpm/archlinux/gnuchess@6.2.9-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "gnuchess",
    "version": "6.2.9-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/3470?format=api",
            "vulnerability_id": "VCID-x4uh-xenh-gqd1",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30184.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30184.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30184",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00655",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71337",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00655",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71381",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30184"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30184",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30184"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1947593",
                    "reference_id": "1947593",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1947593"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986801",
                    "reference_id": "986801",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986801"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1782",
                    "reference_id": "AVG-1782",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1782"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202107-28",
                    "reference_id": "GLSA-202107-28",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202107-28"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7336-1/",
                    "reference_id": "USN-7336-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7336-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-30184"
            ],
            "risk_score": 3.5,
            "exploitability": "0.5",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x4uh-xenh-gqd1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gnuchess@6.2.9-1"
}