Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/923077?format=api",
    "purl": "pkg:deb/debian/ghostscript@9.54.0~dfsg-5?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "ghostscript",
    "version": "9.54.0~dfsg-5",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.55.0~dfsg-1",
    "latest_non_vulnerable_version": "10.07.0~dfsg-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79841?format=api",
            "vulnerability_id": "VCID-ue85-9uqn-xye4",
            "summary": "ghostscript: use-after-free in sampled_data_sample may lead to DoS",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-45944.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-45944.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45944",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79078",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79085",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79112",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79097",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79122",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79129",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79154",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7914",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7913",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79157",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45944"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45944",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45944"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45949",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45949"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/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=2048916",
                    "reference_id": "2048916",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2048916"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5224-1/",
                    "reference_id": "USN-5224-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5224-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5224-2/",
                    "reference_id": "USN-5224-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5224-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/923078?format=api",
                    "purl": "pkg:deb/debian/ghostscript@9.53.3~dfsg-7%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@9.53.3~dfsg-7%252Bdeb11u2%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/923077?format=api",
                    "purl": "pkg:deb/debian/ghostscript@9.54.0~dfsg-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@9.54.0~dfsg-5%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-2021-45944"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ue85-9uqn-xye4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@9.54.0~dfsg-5%3Fdistro=trixie"
}