Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/77917?format=api",
    "vulnerability_id": "VCID-wj1v-tg7c-8ydn",
    "summary": "ghostscript: dangling pointer in gdev_prn_open_printer_seekable()",
    "aliases": [
        {
            "alias": "CVE-2023-46751"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923055?format=api",
            "purl": "pkg:deb/debian/ghostscript@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@0%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/923090?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.0.0~dfsg-11%2Bdeb12u3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.0.0~dfsg-11%252Bdeb12u3%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/923091?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.02.1~dfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.02.1~dfsg-1%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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/91979?format=api",
            "purl": "pkg:rpm/redhat/ghostscript@9.27-16?arch=el8_10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7u9a-5pkt-4fbf"
                },
                {
                    "vulnerability": "VCID-9q8n-jfqs-bkg6"
                },
                {
                    "vulnerability": "VCID-barv-t623-h3e5"
                },
                {
                    "vulnerability": "VCID-eypv-n5ea-abgn"
                },
                {
                    "vulnerability": "VCID-nsan-3rne-7fbw"
                },
                {
                    "vulnerability": "VCID-p7nb-9g3f-2bf3"
                },
                {
                    "vulnerability": "VCID-wj1v-tg7c-8ydn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ghostscript@9.27-16%3Farch=el8_10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/91978?format=api",
            "purl": "pkg:rpm/redhat/ghostscript@9.54.0-18?arch=el9_6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7u9a-5pkt-4fbf"
                },
                {
                    "vulnerability": "VCID-9q8n-jfqs-bkg6"
                },
                {
                    "vulnerability": "VCID-barv-t623-h3e5"
                },
                {
                    "vulnerability": "VCID-eypv-n5ea-abgn"
                },
                {
                    "vulnerability": "VCID-p7nb-9g3f-2bf3"
                },
                {
                    "vulnerability": "VCID-wj1v-tg7c-8ydn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ghostscript@9.54.0-18%3Farch=el9_6"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-46751.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-46751.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-46751",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29589",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29638",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2946",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29522",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29562",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29564",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29519",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29467",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00111",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29485",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-46751"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/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=2253365",
            "reference_id": "2253365",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2253365"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:4362",
            "reference_id": "RHSA-2025:4362",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:4362"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:7422",
            "reference_id": "RHSA-2025:7422",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:7422"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6551-1/",
            "reference_id": "USN-6551-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6551-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 416,
            "name": "Use After Free",
            "description": "Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "6.8",
    "risk_score": 3.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wj1v-tg7c-8ydn"
}