Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/8892?format=api",
    "purl": "pkg:alpm/archlinux/opensmtpd@6.6.3p1-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "opensmtpd",
    "version": "6.6.3p1-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.6.4p1-1",
    "latest_non_vulnerable_version": "6.8.0p2-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/179854?format=api",
            "vulnerability_id": "VCID-ebmw-2wfb-67ae",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8794",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.88136",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99507",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8794"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8794",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8794"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952453",
                    "reference_id": "952453",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952453"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202002-13",
                    "reference_id": "ASA-202002-13",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202002-13"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1105",
                    "reference_id": "AVG-1105",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1105"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/48185.rb",
                    "reference_id": "CVE-2020-8794",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/48185.rb"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/openbsd/remote/48140.c",
                    "reference_id": "CVE-2020-8794",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/openbsd/remote/48140.c"
                },
                {
                    "reference_url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb",
                    "reference_id": "CVE-2020-8794",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb"
                },
                {
                    "reference_url": "https://www.qualys.com/2020/02/24/cve-2020-8794/lpe-rce-opensmtpd-default-install-exploit.c",
                    "reference_id": "CVE-2020-8794",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://www.qualys.com/2020/02/24/cve-2020-8794/lpe-rce-opensmtpd-default-install-exploit.c"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4294-1/",
                    "reference_id": "USN-4294-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4294-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4875-1/",
                    "reference_id": "USN-USN-4875-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4875-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8893?format=api",
                    "purl": "pkg:alpm/archlinux/opensmtpd@6.6.4p1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/opensmtpd@6.6.4p1-1"
                }
            ],
            "aliases": [
                "CVE-2020-8794"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ebmw-2wfb-67ae"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/opensmtpd@6.6.3p1-1"
}