Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/923051?format=api",
    "purl": "pkg:deb/debian/ghostscript@8.71~dfsg2-4?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "ghostscript",
    "version": "8.71~dfsg2-4",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.71~dfsg2-6.1",
    "latest_non_vulnerable_version": "10.07.0~dfsg-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47320?format=api",
            "vulnerability_id": "VCID-w2bj-tjet-3kbp",
            "summary": "Multiple vulnerabilities have been found in GPL Ghostscript, the\n    worst of which may allow execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "http://bugs.ghostscript.com/show_bug.cgi?id=691295",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://bugs.ghostscript.com/show_bug.cgi?id=691295"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2010-1628.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2010-1628.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2010-1628",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89853",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89811",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89814",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89828",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89832",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8985",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89856",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89862",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0512",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8986",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2010-1628"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/546009",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/546009"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1628",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1628"
                },
                {
                    "reference_url": "http://seclists.org/fulldisclosure/2010/May/134",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/fulldisclosure/2010/May/134"
                },
                {
                    "reference_url": "http://secunia.com/advisories/39753",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/39753"
                },
                {
                    "reference_url": "http://secunia.com/advisories/40580",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/40580"
                },
                {
                    "reference_url": "http://security.gentoo.org/glsa/glsa-201412-17.xml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://security.gentoo.org/glsa/glsa-201412-17.xml"
                },
                {
                    "reference_url": "http://www.mandriva.com/security/advisories?name=MDVSA-2010:134",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2010:134"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2010/05/12/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2010/05/12/1"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2010/05/18/7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2010/05/18/7"
                },
                {
                    "reference_url": "http://www.securityfocus.com/archive/1/511243/100/0/threaded",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/archive/1/511243/100/0/threaded"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/40107",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/40107"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-961-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-961-1"
                },
                {
                    "reference_url": "http://www.vupen.com/english/advisories/2010/1138",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.vupen.com/english/advisories/2010/1138"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584516",
                    "reference_id": "584516",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584516"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=592492",
                    "reference_id": "592492",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=592492"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:artifex:gpl_ghostscript:8.64:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:artifex:gpl_ghostscript:8.64:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:artifex:gpl_ghostscript:8.64:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:artifex:gpl_ghostscript:8.70:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:artifex:gpl_ghostscript:8.70:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:artifex:gpl_ghostscript:8.70:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1628",
                    "reference_id": "CVE-2010-1628",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:C/I:C/A:C"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1628"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201412-17",
                    "reference_id": "GLSA-201412-17",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201412-17"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/961-1/",
                    "reference_id": "USN-961-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/961-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/923051?format=api",
                    "purl": "pkg:deb/debian/ghostscript@8.71~dfsg2-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@8.71~dfsg2-4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/923039?format=api",
                    "purl": "pkg:deb/debian/ghostscript@9.53.3~dfsg-7%2Bdeb11u7?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1nh4-crmx-jfb5"
                        },
                        {
                            "vulnerability": "VCID-j6nh-rfbg-z7f7"
                        },
                        {
                            "vulnerability": "VCID-k837-n44h-pkbm"
                        },
                        {
                            "vulnerability": "VCID-rdmp-hfbg-2kh5"
                        },
                        {
                            "vulnerability": "VCID-t3n4-wrgr-bkdy"
                        },
                        {
                            "vulnerability": "VCID-wzad-uxqp-63h3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@9.53.3~dfsg-7%252Bdeb11u7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/923037?format=api",
                    "purl": "pkg:deb/debian/ghostscript@10.0.0~dfsg-11%2Bdeb12u8?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1nh4-crmx-jfb5"
                        },
                        {
                            "vulnerability": "VCID-k837-n44h-pkbm"
                        },
                        {
                            "vulnerability": "VCID-rdmp-hfbg-2kh5"
                        },
                        {
                            "vulnerability": "VCID-t3n4-wrgr-bkdy"
                        },
                        {
                            "vulnerability": "VCID-wzad-uxqp-63h3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.0.0~dfsg-11%252Bdeb12u8%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/923041?format=api",
                    "purl": "pkg:deb/debian/ghostscript@10.05.1~dfsg-1%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-k837-n44h-pkbm"
                        },
                        {
                            "vulnerability": "VCID-wzad-uxqp-63h3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.05.1~dfsg-1%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/923040?format=api",
                    "purl": "pkg:deb/debian/ghostscript@10.07.0~dfsg-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.07.0~dfsg-2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2010-1628"
            ],
            "risk_score": 4.2,
            "exploitability": "0.5",
            "weighted_severity": "8.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w2bj-tjet-3kbp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@8.71~dfsg2-4%3Fdistro=trixie"
}