Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61348?format=api",
    "vulnerability_id": "VCID-76vv-2fcf-vuct",
    "summary": "zsh: crash on copying empty hash table",
    "aliases": [
        {
            "alias": "CVE-2018-7549"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/315812?format=api",
            "purl": "pkg:alpm/archlinux/zsh@5.5-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/zsh@5.5-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/366625?format=api",
            "purl": "pkg:deb/debian/zsh@5.5-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/zsh@5.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/366617?format=api",
            "purl": "pkg:deb/debian/zsh@5.8-6%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/zsh@5.8-6%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/366615?format=api",
            "purl": "pkg:deb/debian/zsh@5.9-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/zsh@5.9-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/366618?format=api",
            "purl": "pkg:deb/debian/zsh@5.9-8?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/zsh@5.9-8%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/335696?format=api",
            "purl": "pkg:ebuild/app-shells/zsh@5.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/app-shells/zsh@5.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/315811?format=api",
            "purl": "pkg:alpm/archlinux/zsh@5.4.2-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-76vv-2fcf-vuct"
                },
                {
                    "vulnerability": "VCID-e99p-x9s7-cbgq"
                },
                {
                    "vulnerability": "VCID-ys6n-9d6g-83bf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/zsh@5.4.2-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/162711?format=api",
            "purl": "pkg:rpm/redhat/zsh@5.0.2-31?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-76vv-2fcf-vuct"
                },
                {
                    "vulnerability": "VCID-8yxh-yjg6-xfee"
                },
                {
                    "vulnerability": "VCID-cg4b-6e8x-q3df"
                },
                {
                    "vulnerability": "VCID-e99p-x9s7-cbgq"
                },
                {
                    "vulnerability": "VCID-k4yz-hdfb-q3eu"
                },
                {
                    "vulnerability": "VCID-mduk-jw51-9bbn"
                },
                {
                    "vulnerability": "VCID-uxpx-5d4y-nfhc"
                },
                {
                    "vulnerability": "VCID-yd6c-52h4-p3e2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/zsh@5.0.2-31%3Farch=el7"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7549.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7549.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7549",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00221",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44713",
                    "published_at": "2026-05-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7549"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7549",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7549"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1549858",
            "reference_id": "1549858",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1549858"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-201804-7",
            "reference_id": "ASA-201804-7",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-201804-7"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-642",
            "reference_id": "AVG-642",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-642"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201805-10",
            "reference_id": "GLSA-201805-10",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201805-10"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2018:3073",
            "reference_id": "RHSA-2018:3073",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2018:3073"
        },
        {
            "reference_url": "https://usn.ubuntu.com/3593-1/",
            "reference_id": "USN-3593-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/3593-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 665,
            "name": "Improper Initialization",
            "description": "The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used."
        }
    ],
    "exploits": [],
    "severity_range_score": "3.3 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-76vv-2fcf-vuct"
}