Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11754?format=api",
    "purl": "pkg:pypi/tripleo-heat-templates@7.0.16",
    "type": "pypi",
    "namespace": "",
    "name": "tripleo-heat-templates",
    "version": "7.0.16",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "8.0.3",
    "latest_non_vulnerable_version": "11.6.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35241?format=api",
            "vulnerability_id": "VCID-vxt7-kug2-nkbh",
            "summary": "A vulnerability was found in openstack-tripleo-heat-templates before version 8.0.2-40. When deployed using Director using default configuration, Opendaylight in RHOSP13 is configured with easily guessable default credentials.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2214",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2214"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10898"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11764?format=api",
                    "purl": "pkg:pypi/tripleo-heat-templates@8.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tripleo-heat-templates@8.0.3"
                }
            ],
            "aliases": [
                "CVE-2018-10898",
                "PYSEC-2018-102"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vxt7-kug2-nkbh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tripleo-heat-templates@7.0.16"
}