Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38566?format=api",
    "vulnerability_id": "VCID-9hk7-ds97-q7dk",
    "summary": "Privilege Escalation\nEasily exploitable vulnerability allows low privileged attacker with logon to the infrastructure where MySQL Connectors executes to compromise MySQL Connectors.",
    "aliases": [
        {
            "alias": "CVE-2017-3590"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53518?format=api",
            "purl": "pkg:pypi/mysql-connector-python@8.0.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mysql-connector-python@8.0.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53517?format=api",
            "purl": "pkg:pypi/mysql-connector-python@2.1.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9hk7-ds97-q7dk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mysql-connector-python@2.1.5"
        }
    ],
    "references": [
        {
            "reference_url": "http://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/97840",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/97840"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-3590",
            "reference_id": "CVE-2017-3590",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-3590"
        }
    ],
    "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-9hk7-ds97-q7dk"
}