Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63113?format=api",
    "purl": "pkg:pypi/httplib2@0.10.1",
    "type": "pypi",
    "namespace": "",
    "name": "httplib2",
    "version": "0.10.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.19.0",
    "latest_non_vulnerable_version": "0.19.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34833?format=api",
            "vulnerability_id": "VCID-eem4-2qxa-ufbk",
            "summary": "httplib2 0.7.2, 0.8, and earlier, after an initial connection is made, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.",
            "references": [
                {
                    "reference_url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706602"
                },
                {
                    "reference_url": "http://code.google.com/p/httplib2/issues/detail?id=282",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://code.google.com/p/httplib2/issues/detail?id=282"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/httplib2/+bug/1175272",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/httplib2/+bug/1175272"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2013/q2/257",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2013/q2/257"
                },
                {
                    "reference_url": "https://github.com/httplib2/httplib2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/httplib2/httplib2"
                },
                {
                    "reference_url": "https://github.com/httplib2/httplib2/commit/40cbdcc8586f2292fa0e76a3e8c012f0cc9ed919",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/httplib2/httplib2/commit/40cbdcc8586f2292fa0e76a3e8c012f0cc9ed919"
                },
                {
                    "reference_url": "https://github.com/httplib2/httplib2/issues/5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/httplib2/httplib2/issues/5"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/httplib2/PYSEC-2014-81.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/httplib2/PYSEC-2014-81.yaml"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200228052625/http://www.securityfocus.com/bid/52179",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200228052625/http://www.securityfocus.com/bid/52179"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/52179",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/52179"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-1948-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-1948-1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2037",
                    "reference_id": "CVE-2013-2037",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2037"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q48q-77qv-cf9p",
                    "reference_id": "GHSA-q48q-77qv-cf9p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q48q-77qv-cf9p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/7891?format=api",
                    "purl": "pkg:pypi/httplib2@0.9",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-92cy-sw95-63fb"
                        },
                        {
                            "vulnerability": "VCID-v8bw-2ukf-bbfg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/httplib2@0.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63113?format=api",
                    "purl": "pkg:pypi/httplib2@0.10.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/httplib2@0.10.1"
                }
            ],
            "aliases": [
                "CVE-2013-2037",
                "GHSA-q48q-77qv-cf9p",
                "PYSEC-2014-81"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eem4-2qxa-ufbk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/httplib2@0.10.1"
}