Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1011037?format=api",
    "purl": "pkg:apk/alpine/ghostscript@9.55.0-r2?arch=x86&distroversion=v3.15&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "ghostscript",
    "version": "9.55.0-r2",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.15",
        "reponame": "main"
    },
    "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/43791?format=api",
            "vulnerability_id": "VCID-2ncr-54s7-hqfz",
            "summary": "Multiple vulnerabilities have been discovered in GPL Ghostscript, the worst of which could result in remote code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-36664.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-36664.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-36664",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91014",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91084",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91022",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91032",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91045",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91051",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9106",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.06431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91059",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-36664"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-36664",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-36664"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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=2217798",
                    "reference_id": "2217798",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2217798"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICXN5VPF3WJCYKMPSYER5KHTPJXSTJZ/",
                    "reference_id": "2ICXN5VPF3WJCYKMPSYER5KHTPJXSTJZ",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICXN5VPF3WJCYKMPSYER5KHTPJXSTJZ/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5EWMEK2UPCUU3ZLL7VASE5CEHDQY4VKV/",
                    "reference_id": "5EWMEK2UPCUU3ZLL7VASE5CEHDQY4VKV",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5EWMEK2UPCUU3ZLL7VASE5CEHDQY4VKV/"
                },
                {
                    "reference_url": "https://www.debian.org/security/2023/dsa-5446",
                    "reference_id": "dsa-5446",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://www.debian.org/security/2023/dsa-5446"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202309-03",
                    "reference_id": "GLSA-202309-03",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://security.gentoo.org/glsa/202309-03"
                },
                {
                    "reference_url": "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=0974e4f2ac0005d3731e0b5c13ebc7e965540f4d",
                    "reference_id": "?p=ghostpdl.git%3Ba=commit%3Bh=0974e4f2ac0005d3731e0b5c13ebc7e965540f4d",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=0974e4f2ac0005d3731e0b5c13ebc7e965540f4d"
                },
                {
                    "reference_url": "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=505eab7782b429017eb434b2b95120855f2b0e3c",
                    "reference_id": "?p=ghostpdl.git%3Ba=commit%3Bh=505eab7782b429017eb434b2b95120855f2b0e3c",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=505eab7782b429017eb434b2b95120855f2b0e3c"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:4324",
                    "reference_id": "RHSA-2023:4324",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:4324"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:5459",
                    "reference_id": "RHSA-2023:5459",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:5459"
                },
                {
                    "reference_url": "https://bugs.ghostscript.com/show_bug.cgi?id=706761",
                    "reference_id": "show_bug.cgi?id=706761",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T14:54:02Z/"
                        }
                    ],
                    "url": "https://bugs.ghostscript.com/show_bug.cgi?id=706761"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6213-1/",
                    "reference_id": "USN-6213-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6213-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1011037?format=api",
                    "purl": "pkg:apk/alpine/ghostscript@9.55.0-r2?arch=x86&distroversion=v3.15&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@9.55.0-r2%3Farch=x86&distroversion=v3.15&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2023-36664"
            ],
            "risk_score": 3.8,
            "exploitability": "0.5",
            "weighted_severity": "7.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2ncr-54s7-hqfz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@9.55.0-r2%3Farch=x86&distroversion=v3.15&reponame=main"
}