Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/433510?format=api",
    "purl": "pkg:apk/alpine/ghostscript@9.54-r1?arch=x86&distroversion=v3.14&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "ghostscript",
    "version": "9.54-r1",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.14",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.54.0-r2",
    "latest_non_vulnerable_version": "9.54.0-r2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36089?format=api",
            "vulnerability_id": "VCID-mg71-sbsj-2yam",
            "summary": "Multiple vulnerabilities have been found in GPL Ghostscript, the worst of which could result in arbitrary code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3781.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3781.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3781",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06952",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91437",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91454",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91463",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9147",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91448",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91483",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91489",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.07045",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91495",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.07893",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92042",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.07893",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92024",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3781"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3781",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3781"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2002271",
                    "reference_id": "2002271",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2002271"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994011",
                    "reference_id": "994011",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994011"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202109-3",
                    "reference_id": "ASA-202109-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202109-3"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2374",
                    "reference_id": "AVG-2374",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2374"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202211-11",
                    "reference_id": "GLSA-202211-11",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202211-11"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5075-1/",
                    "reference_id": "USN-5075-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5075-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/433510?format=api",
                    "purl": "pkg:apk/alpine/ghostscript@9.54-r1?arch=x86&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@9.54-r1%3Farch=x86&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-3781"
            ],
            "risk_score": 4.4,
            "exploitability": "0.5",
            "weighted_severity": "8.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mg71-sbsj-2yam"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@9.54-r1%3Farch=x86&distroversion=v3.14&reponame=main"
}