Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/7542?format=api",
    "purl": "pkg:pypi/setuptools@0.7",
    "type": "pypi",
    "namespace": "",
    "name": "setuptools",
    "version": "0.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "78.1.1",
    "latest_non_vulnerable_version": "78.1.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34803?format=api",
            "vulnerability_id": "VCID-s5g1-3fpd-akd6",
            "summary": "easy_install in setuptools before 0.7 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to the default use of the product.",
            "references": [
                {
                    "reference_url": "https://pypi.python.org/pypi/setuptools/0.9.8#changes",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.python.org/pypi/setuptools/0.9.8#changes"
                },
                {
                    "reference_url": "http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/7542?format=api",
                    "purl": "pkg:pypi/setuptools@0.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/setuptools@0.7"
                }
            ],
            "aliases": [
                "CVE-2013-1633",
                "PYSEC-2013-22"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s5g1-3fpd-akd6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/setuptools@0.7"
}