Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/32830?format=api",
    "vulnerability_id": "VCID-vxdy-tvh3-97gv",
    "summary": "ghostscript: path traversal to arbitrary files if the current directory is in the permitted paths",
    "aliases": [
        {
            "alias": "CVE-2024-33870"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151271?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=aarch64&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=aarch64&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151272?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=armhf&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=armhf&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151273?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=armv7&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=armv7&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151274?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151275?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=ppc64le&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=ppc64le&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151276?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=riscv64&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=riscv64&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151277?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=s390x&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=s390x&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151279?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=x86_64&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=x86_64&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/151278?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.03.1-r0?arch=x86&distroversion=v3.22&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.03.1-r0%3Farch=x86&distroversion=v3.22&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93423?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=aarch64&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=aarch64&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93424?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=armhf&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=armhf&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93425?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=armv7&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=armv7&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93426?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=ppc64le&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=ppc64le&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93427?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=s390x&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=s390x&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93429?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=x86_64&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=x86_64&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/93428?format=api",
            "purl": "pkg:apk/alpine/ghostscript@10.04.0-r0?arch=x86&distroversion=v3.18&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/ghostscript@10.04.0-r0%3Farch=x86&distroversion=v3.18&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/344922?format=api",
            "purl": "pkg:deb/debian/ghostscript@9.53.3~dfsg-7%2Bdeb11u7?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8v89-2vfu-2beb"
                },
                {
                    "vulnerability": "VCID-djcb-wxcz-h3ax"
                },
                {
                    "vulnerability": "VCID-mf5g-s3c2-eygg"
                },
                {
                    "vulnerability": "VCID-vbfe-vrsv-3ugy"
                },
                {
                    "vulnerability": "VCID-vzvh-7qfu-g7ft"
                },
                {
                    "vulnerability": "VCID-zzky-ktxy-guar"
                }
            ],
            "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/344975?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.0.0~dfsg-11%2Bdeb12u4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.0.0~dfsg-11%252Bdeb12u4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/344920?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.0.0~dfsg-11%2Bdeb12u8?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8v89-2vfu-2beb"
                },
                {
                    "vulnerability": "VCID-djcb-wxcz-h3ax"
                },
                {
                    "vulnerability": "VCID-mf5g-s3c2-eygg"
                },
                {
                    "vulnerability": "VCID-vbfe-vrsv-3ugy"
                },
                {
                    "vulnerability": "VCID-zzky-ktxy-guar"
                }
            ],
            "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/344979?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.03.1~dfsg~git20240518-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.03.1~dfsg~git20240518-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/344924?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.05.1~dfsg-1%2Bdeb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-djcb-wxcz-h3ax"
                },
                {
                    "vulnerability": "VCID-vbfe-vrsv-3ugy"
                }
            ],
            "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/344923?format=api",
            "purl": "pkg:deb/debian/ghostscript@10.07.1~dfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ghostscript@10.07.1~dfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/336970?format=api",
            "purl": "pkg:ebuild/app-text/ghostscript-gpl@10.03.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/app-text/ghostscript-gpl@10.03.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65148?format=api",
            "purl": "pkg:rpm/redhat/ghostscript@9.54.0-12.el9_2?arch=2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jxt5-fdu9-cuej"
                },
                {
                    "vulnerability": "VCID-ubm4-wkx6-vfe5"
                },
                {
                    "vulnerability": "VCID-vxdy-tvh3-97gv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ghostscript@9.54.0-12.el9_2%3Farch=2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65150?format=api",
            "purl": "pkg:rpm/redhat/ghostscript@9.54.0-17?arch=el9_4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jxt5-fdu9-cuej"
                },
                {
                    "vulnerability": "VCID-ubm4-wkx6-vfe5"
                },
                {
                    "vulnerability": "VCID-vxdy-tvh3-97gv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ghostscript@9.54.0-17%3Farch=el9_4"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-33870.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-33870.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-33870",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00079",
                    "scoring_system": "epss",
                    "scoring_elements": "0.23447",
                    "published_at": "2026-05-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-33870"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-52722",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-52722"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-29510",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-29510"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-33869",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-33869"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-33870",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-33870"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-33871",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-33871"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.openwall.com/lists/oss-security/2024/06/28/2",
            "reference_id": "2",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-22T16:38:36Z/"
                }
            ],
            "url": "https://www.openwall.com/lists/oss-security/2024/06/28/2"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2293959",
            "reference_id": "2293959",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2293959"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202409-03",
            "reference_id": "GLSA-202409-03",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202409-03"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:6197",
            "reference_id": "RHSA-2024:6197",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:6197"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:6466",
            "reference_id": "RHSA-2024:6466",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:6466"
        },
        {
            "reference_url": "https://bugs.ghostscript.com/show_bug.cgi?id=707686",
            "reference_id": "show_bug.cgi?id=707686",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-22T16:38:36Z/"
                }
            ],
            "url": "https://bugs.ghostscript.com/show_bug.cgi?id=707686"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6835-1/",
            "reference_id": "USN-6835-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6835-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 23,
            "name": "Relative Path Traversal",
            "description": "The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as .. that can resolve to a location that is outside of that directory."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.3 - 6.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vxdy-tvh3-97gv"
}