Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56172?format=api",
    "purl": "pkg:pypi/neutron@7.0.0",
    "type": "pypi",
    "namespace": "",
    "name": "neutron",
    "version": "7.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.0.5",
    "latest_non_vulnerable_version": "2015.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40115?format=api",
            "vulnerability_id": "VCID-737y-rfry-dqed",
            "summary": "Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)\nA race-condition flaw was discovered in openstack-neutron: following a minor overcloud update, neutron security groups were disabled.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7543",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7543"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100237",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100237"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7543",
                    "reference_id": "CVE-2017-7543",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7543"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11962?format=api",
                    "purl": "pkg:pypi/neutron@10.0.5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1444-3h31-3kdv"
                        },
                        {
                            "vulnerability": "VCID-69mn-brsx-xydy"
                        },
                        {
                            "vulnerability": "VCID-jecq-8kqy-sfg8"
                        },
                        {
                            "vulnerability": "VCID-mcet-nkj3-bug8"
                        },
                        {
                            "vulnerability": "VCID-p5ww-51mu-buf5"
                        },
                        {
                            "vulnerability": "VCID-p6g8-396q-t7ck"
                        },
                        {
                            "vulnerability": "VCID-t5sb-ghkg-zbb6"
                        },
                        {
                            "vulnerability": "VCID-wa91-gzx6-h7gu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@10.0.5"
                }
            ],
            "aliases": [
                "CVE-2017-7543"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-737y-rfry-dqed"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@7.0.0"
}