Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/320719?format=api",
    "purl": "pkg:apk/alpine/awstats@7.6-r2?arch=s390x&distroversion=v3.14&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "awstats",
    "version": "7.6-r2",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.14",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.8-r1",
    "latest_non_vulnerable_version": "7.8-r1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/124711?format=api",
            "vulnerability_id": "VCID-fbbx-wedf-gbaq",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000501",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91342",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.06548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91374",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000501"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000501",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000501"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885835",
                    "reference_id": "885835",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885835"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202007-37",
                    "reference_id": "GLSA-202007-37",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202007-37"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3518-1/",
                    "reference_id": "USN-3518-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3518-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4953-1/",
                    "reference_id": "USN-4953-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4953-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/320719?format=api",
                    "purl": "pkg:apk/alpine/awstats@7.6-r2?arch=s390x&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/awstats@7.6-r2%3Farch=s390x&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-1000501"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fbbx-wedf-gbaq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/awstats@7.6-r2%3Farch=s390x&distroversion=v3.14&reponame=main"
}