Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/2618?format=api",
    "purl": "pkg:alpm/archlinux/linux@5.8.7.arch1-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "linux",
    "version": "5.8.7.arch1-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.8.8.arch1-1",
    "latest_non_vulnerable_version": "6.19.12-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5826?format=api",
            "vulnerability_id": "VCID-sj3a-2jfy-33hx",
            "summary": "privilege escalation",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-14386.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-14386.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-14386",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00635",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70786",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-14386"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14386",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14386"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1875699",
                    "reference_id": "1875699",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1875699"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1222",
                    "reference_id": "AVG-1222",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1222"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1223",
                    "reference_id": "AVG-1223",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1223"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1224",
                    "reference_id": "AVG-1224",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1224"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1237",
                    "reference_id": "AVG-1237",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1237"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4286",
                    "reference_id": "RHSA-2020:4286",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4286"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4287",
                    "reference_id": "RHSA-2020:4287",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4287"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4289",
                    "reference_id": "RHSA-2020:4289",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4289"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4331",
                    "reference_id": "RHSA-2020:4331",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4331"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4332",
                    "reference_id": "RHSA-2020:4332",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4332"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5199",
                    "reference_id": "RHSA-2020:5199",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5199"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2619?format=api",
                    "purl": "pkg:alpm/archlinux/linux@5.8.8.arch1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/linux@5.8.8.arch1-1"
                }
            ],
            "aliases": [
                "CVE-2020-14386"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sj3a-2jfy-33hx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/linux@5.8.7.arch1-1"
}