Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/19870?format=api",
    "purl": "pkg:pypi/httplib2@0.19.0",
    "type": "pypi",
    "namespace": "",
    "name": "httplib2",
    "version": "0.19.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.10.1",
    "latest_non_vulnerable_version": "0.19.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35720?format=api",
            "vulnerability_id": "VCID-v8bw-2ukf-bbfg",
            "summary": "httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of \"\\xa0\" characters in the \"www-authenticate\" header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.",
            "references": [
                {
                    "reference_url": "https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc"
                },
                {
                    "reference_url": "https://github.com/httplib2/httplib2/pull/182",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/httplib2/httplib2/pull/182"
                },
                {
                    "reference_url": "https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m"
                },
                {
                    "reference_url": "https://pypi.org/project/httplib2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/httplib2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19870?format=api",
                    "purl": "pkg:pypi/httplib2@0.19.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/httplib2@0.19.0"
                }
            ],
            "aliases": [
                "CVE-2021-21240",
                "GHSA-93xj-8mrv-444m",
                "PYSEC-2021-16"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v8bw-2ukf-bbfg"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/httplib2@0.19.0"
}