Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37940?format=api",
    "vulnerability_id": "VCID-z7uy-uene-gkb8",
    "summary": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')\nMultiple buffer overflows in the (1) png_set_PLTE and (2) png_get_PLTE functions in libpng  allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a small bit-depth value in an IHDR (aka image header) chunk in a PNG image.",
    "aliases": [
        {
            "alias": "CVE-2015-8126"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52400?format=api",
            "purl": "pkg:nuget/libpng@1.6.19.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.19.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52398?format=api",
            "purl": "pkg:nuget/libpng@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-z7uy-uene-gkb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52399?format=api",
            "purl": "pkg:nuget/libpng@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-z7uy-uene-gkb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51198?format=api",
            "purl": "pkg:nuget/libpng@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4se8-jgv9-f3cb"
                },
                {
                    "vulnerability": "VCID-8t7j-kq5w-3kd3"
                },
                {
                    "vulnerability": "VCID-97n4-usr2-m3b1"
                },
                {
                    "vulnerability": "VCID-9whv-nakg-7uep"
                },
                {
                    "vulnerability": "VCID-bem6-n5ch-j3c4"
                },
                {
                    "vulnerability": "VCID-m97q-c2fu-7kd9"
                },
                {
                    "vulnerability": "VCID-nyc6-h81f-rqav"
                },
                {
                    "vulnerability": "VCID-p2gz-v2eb-n3bs"
                },
                {
                    "vulnerability": "VCID-wvz9-9g5m-k3cn"
                },
                {
                    "vulnerability": "VCID-y21n-ekwz-ayep"
                },
                {
                    "vulnerability": "VCID-yfe1-js79-y3hv"
                },
                {
                    "vulnerability": "VCID-z7uy-uene-gkb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51701?format=api",
            "purl": "pkg:nuget/libpng@1.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54s1-pkq4-aqhu"
                },
                {
                    "vulnerability": "VCID-8dc9-x82x-2yg1"
                },
                {
                    "vulnerability": "VCID-a899-g3pw-aqfj"
                },
                {
                    "vulnerability": "VCID-vd75-tvxc-9bah"
                },
                {
                    "vulnerability": "VCID-y21n-ekwz-ayep"
                },
                {
                    "vulnerability": "VCID-z7uy-uene-gkb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-8126",
            "reference_id": "CVE-2015-8126",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-8126"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "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."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z7uy-uene-gkb8"
}