Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1017196?format=api",
    "purl": "pkg:apk/alpine/ark@20.08.0-r1?arch=s390x&distroversion=v3.15&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "ark",
    "version": "20.08.0-r1",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.15",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34685?format=api",
            "vulnerability_id": "VCID-1573-ctpz-bfhh",
            "summary": "Ark was found to allow arbitrary file overwrite, possibly allowing\n    arbitrary code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24654.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24654.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24654",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7458",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74584",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74611",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74585",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74617",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74631",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74654",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74634",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00835",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74626",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24654"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24654",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24654"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1880358",
                    "reference_id": "1880358",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1880358"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969437",
                    "reference_id": "969437",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969437"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202009-2",
                    "reference_id": "ASA-202009-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202009-2"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1216",
                    "reference_id": "AVG-1216",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1216"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202010-06",
                    "reference_id": "GLSA-202010-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202010-06"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202101-06",
                    "reference_id": "GLSA-202101-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202101-06"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4482-1/",
                    "reference_id": "USN-4482-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4482-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1017196?format=api",
                    "purl": "pkg:apk/alpine/ark@20.08.0-r1?arch=s390x&distroversion=v3.15&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ark@20.08.0-r1%3Farch=s390x&distroversion=v3.15&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-24654"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1573-ctpz-bfhh"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ark@20.08.0-r1%3Farch=s390x&distroversion=v3.15&reponame=community"
}