Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38182?format=api",
    "vulnerability_id": "VCID-a6px-3qen-euct",
    "summary": "Critical SQL injection bug in the ODBC database driver\nThere's a critical SQL injection bug in the ODBC database driver.",
    "aliases": [
        {
            "alias": "GMS-2016-55"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52330?format=api",
            "purl": "pkg:composer/codeigniter/framework@3.1.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/codeigniter/framework@3.1.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "http://forum.codeigniter.com/thread-65803.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://forum.codeigniter.com/thread-65803.html"
        },
        {
            "reference_url": "http://www.codeigniter.com/user_guide/changelog.html#version-3-1-0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.codeigniter.com/user_guide/changelog.html#version-3-1-0"
        }
    ],
    "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-a6px-3qen-euct"
}