Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/69074?format=api",
    "vulnerability_id": "VCID-uxpx-5d4y-nfhc",
    "summary": "zsh: buffer overflow when scanning very long directory paths for symbolic links",
    "aliases": [
        {
            "alias": "CVE-2014-10072"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/366620?format=api",
            "purl": "pkg:deb/debian/zsh@5.0.6-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/zsh@5.0.6-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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/162707?format=api",
            "purl": "pkg:rpm/redhat/zsh@4.3.11-8?arch=el6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8yxh-yjg6-xfee"
                },
                {
                    "vulnerability": "VCID-cg4b-6e8x-q3df"
                },
                {
                    "vulnerability": "VCID-e99p-x9s7-cbgq"
                },
                {
                    "vulnerability": "VCID-uxpx-5d4y-nfhc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/zsh@4.3.11-8%3Farch=el6"
        },
        {
            "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-2014-10072.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-10072.json"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-10072",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-10072"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/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=1549836",
            "reference_id": "1549836",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1549836"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2018:1932",
            "reference_id": "RHSA-2018:1932",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2018:1932"
        },
        {
            "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 120,
            "name": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
            "description": "The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.0 - 5.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uxpx-5d4y-nfhc"
}