Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/7631?format=api",
    "purl": "pkg:pypi/python-glanceclient@0.4.1",
    "type": "pypi",
    "namespace": "",
    "name": "python-glanceclient",
    "version": "0.4.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.10.0",
    "latest_non_vulnerable_version": "0.10.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34808?format=api",
            "vulnerability_id": "VCID-b47q-cgjt-t3h9",
            "summary": "The Python client library for Glance (python-glanceclient) before 0.10.0 does not properly check the preverify_ok value, which prevents the server hostname from being verified with a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate and allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00019.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2013-08/msg00019.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1200.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-1200.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1200",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1200"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/ossa/+bug/1192229",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/ossa/+bug/1192229"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=989738",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=989738"
                },
                {
                    "reference_url": "http://secunia.com/advisories/54313",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/54313"
                },
                {
                    "reference_url": "http://secunia.com/advisories/54525",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/54525"
                },
                {
                    "reference_url": "https://github.com/jaypipes/python-glanceclient",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jaypipes/python-glanceclient"
                },
                {
                    "reference_url": "https://github.com/openstack/python-glanceclient/blob/master/doc/source/index.rst",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/python-glanceclient/blob/master/doc/source/index.rst"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-glanceclient/PYSEC-2013-11.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-glanceclient/PYSEC-2013-11.yaml"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-2004-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-2004-1"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2013-4111",
                    "reference_id": "CVE-2013-4111",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2013-4111"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-4111",
                    "reference_id": "CVE-2013-4111",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-4111"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qgfg-gvff-523v",
                    "reference_id": "GHSA-qgfg-gvff-523v",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qgfg-gvff-523v"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/7639?format=api",
                    "purl": "pkg:pypi/python-glanceclient@0.10.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-glanceclient@0.10.0"
                }
            ],
            "aliases": [
                "CVE-2013-4111",
                "GHSA-qgfg-gvff-523v",
                "PYSEC-2013-11"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b47q-cgjt-t3h9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-glanceclient@0.4.1"
}