Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52132?format=api",
    "purl": "pkg:pypi/wxpython@0.0a0",
    "type": "pypi",
    "namespace": "",
    "name": "wxpython",
    "version": "0.0a0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "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.",
            "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"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "OSVDB-117492"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kd32-kg8e-bbfu"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wxpython@0.0a0"
}