Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6674?format=api",
    "vulnerability_id": "VCID-trfv-gjb1-27by",
    "summary": "multiple issues",
    "aliases": [
        {
            "alias": "CVE-2016-10128"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3396?format=api",
            "purl": "pkg:alpm/archlinux/libgit2@1:0.24.6-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libgit2@1:0.24.6-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5587?format=api",
            "purl": "pkg:deb/debian/libgit2@0.25.1%2Breally0.24.6-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgit2@0.25.1%252Breally0.24.6-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3395?format=api",
            "purl": "pkg:alpm/archlinux/libgit2@1:0.24.3-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-56ja-ssh2-6kc6"
                },
                {
                    "vulnerability": "VCID-ppcw-p47s-y7hb"
                },
                {
                    "vulnerability": "VCID-trfv-gjb1-27by"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libgit2@1:0.24.3-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5585?format=api",
            "purl": "pkg:deb/debian/libgit2@0.21.1-3~bpo7%2B1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-56ja-ssh2-6kc6"
                },
                {
                    "vulnerability": "VCID-ppcw-p47s-y7hb"
                },
                {
                    "vulnerability": "VCID-trfv-gjb1-27by"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgit2@0.21.1-3~bpo7%252B1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5586?format=api",
            "purl": "pkg:deb/debian/libgit2@0.21.1-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-56ja-ssh2-6kc6"
                },
                {
                    "vulnerability": "VCID-ppcw-p47s-y7hb"
                },
                {
                    "vulnerability": "VCID-trfv-gjb1-27by"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgit2@0.21.1-3"
        }
    ],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10128",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10128"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-201701-21",
            "reference_id": "ASA-201701-21",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-201701-21"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-131",
            "reference_id": "AVG-131",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-131"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-trfv-gjb1-27by"
}