Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37792?format=api",
    "vulnerability_id": "VCID-kd32-kg8e-bbfu",
    "summary": "Insecure Temporary File Creation\nwx.tools.img2py creates temporary files insecurely. It is possible for a local attacker to use a symlink attack against an unspecified file to cause the program to unexpectedly overwrite an arbitrary file.",
    "aliases": [
        {
            "alias": "OSVDB-117492"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52132?format=api",
            "purl": "pkg:pypi/wxpython@0.0a0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kd32-kg8e-bbfu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wxpython@0.0a0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/wxWidgets/wxPython/commits/master/wx/tools/img2py.py",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/wxWidgets/wxPython/commits/master/wx/tools/img2py.py"
        },
        {
            "reference_url": "http://www.osvdb.org/show/osvdb/117492",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.osvdb.org/show/osvdb/117492"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kd32-kg8e-bbfu"
}