Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37789?format=api",
    "vulnerability_id": "VCID-vd75-tvxc-9bah",
    "summary": "Improper Restriction of Operations within the Bounds of a Memory Buffer\nHeap-based buffer overflow in the png_combine_row function in libpng, when running on systems, might allow context-dependent attackers to execute arbitrary code via a \"very wide interlaced\" PNG image.",
    "aliases": [
        {
            "alias": "CVE-2014-9495"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51199?format=api",
            "purl": "pkg:nuget/libpng@1.6.18.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.18.1"
        }
    ],
    "affected_packages": [
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52122?format=api",
            "purl": "pkg:nuget/libpng@1.6.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a899-g3pw-aqfj"
                },
                {
                    "vulnerability": "VCID-vd75-tvxc-9bah"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.15"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-9495",
            "reference_id": "CVE-2014-9495",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-9495"
        }
    ],
    "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": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        },
        {
            "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-vd75-tvxc-9bah"
}