Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37887?format=api",
    "vulnerability_id": "VCID-2bvt-36z3-9qar",
    "summary": "Potential Denial of Service Vulnerability\nCarefully crafted requests can cause a `SystemStackError` and potentially cause a denial of service attack.",
    "aliases": [
        {
            "alias": "CVE-2015-3225"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52333?format=api",
            "purl": "pkg:gem/rack@1.4.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.4.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52334?format=api",
            "purl": "pkg:gem/rack@1.5.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.5.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52335?format=api",
            "purl": "pkg:gem/rack@1.6.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.6.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52331?format=api",
            "purl": "pkg:gem/rack@1.5.0a",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2bvt-36z3-9qar"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.5.0a"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52332?format=api",
            "purl": "pkg:gem/rack@1.6.0a",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2bvt-36z3-9qar"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.6.0a"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/rack/rack/commits/1.4.6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rack/rack/commits/1.4.6"
        },
        {
            "reference_url": "https://groups.google.com/forum/#!topic/ruby-security-ann/gcUbICUmKMc",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/gcUbICUmKMc"
        }
    ],
    "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": 19,
            "name": "Data Processing Errors",
            "description": "Weaknesses in this category are typically found in functionality that processes data. Data processing is the manipulation of input to retrieve or save information."
        },
        {
            "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-2bvt-36z3-9qar"
}