Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37625?format=api",
    "vulnerability_id": "VCID-54s1-pkq4-aqhu",
    "summary": "Uncontrolled Resource Consumption\nThe png_do_expand_palette function in libpng allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via (1) a PLTE chunk of zero bytes or (2) a NULL palette, related to pngrtran.c and pngset.c.",
    "aliases": [
        {
            "alias": "CVE-2013-6954"
        }
    ],
    "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/51702?format=api",
            "purl": "pkg:nuget/libpng@1.6.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54s1-pkq4-aqhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.7"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6954",
            "reference_id": "CVE-2013-6954",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6954"
        }
    ],
    "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": 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-54s1-pkq4-aqhu"
}