Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/9886?format=api",
    "purl": "pkg:pypi/nova-lxd@13.0.0.0b2",
    "type": "pypi",
    "namespace": "",
    "name": "nova-lxd",
    "version": "13.0.0.0b2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "13.1.1",
    "latest_non_vulnerable_version": "13.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35051?format=api",
            "vulnerability_id": "VCID-wmwt-vy5n-97c4",
            "summary": "OpenStack Nova-LXD before 13.1.1 uses the wrong name for the veth pairs when applying Neutron security group rules for instances, which allows remote attackers to bypass intended security restrictions.",
            "references": [
                {
                    "reference_url": "https://bugs.launchpad.net/nova-lxd/+bug/1656847",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/nova-lxd/+bug/1656847"
                },
                {
                    "reference_url": "https://github.com/openstack/nova-lxd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/nova-lxd"
                },
                {
                    "reference_url": "https://github.com/openstack/nova-lxd/commit/1b76cefb92081efa1e88cd8f330253f857028bd2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/nova-lxd/commit/1b76cefb92081efa1e88cd8f330253f857028bd2"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/nova-lxd/PYSEC-2017-21.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/nova-lxd/PYSEC-2017-21.yaml"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227193915/http://www.securityfocus.com/bid/96182",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227193915/http://www.securityfocus.com/bid/96182"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2017/02/09/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2017/02/09/3"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/96182",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/96182"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-3195-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-3195-1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5936",
                    "reference_id": "CVE-2017-5936",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5936"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6xc7-4cx8-j3xc",
                    "reference_id": "GHSA-6xc7-4cx8-j3xc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6xc7-4cx8-j3xc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9890?format=api",
                    "purl": "pkg:pypi/nova-lxd@13.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nova-lxd@13.1.1"
                }
            ],
            "aliases": [
                "CVE-2017-5936",
                "GHSA-6xc7-4cx8-j3xc",
                "PYSEC-2017-21"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wmwt-vy5n-97c4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nova-lxd@13.0.0.0b2"
}