Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61079?format=api",
    "purl": "pkg:pypi/tripleo-heat-templates@11.6.0",
    "type": "pypi",
    "namespace": "",
    "name": "tripleo-heat-templates",
    "version": "11.6.0",
    "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/42774?format=api",
            "vulnerability_id": "VCID-pehq-me7c-5bcg",
            "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nAn information exposure flaw in openstack-tripleo-heat-templates allows an external user to discover the internal IP or hostname. An attacker could exploit this by checking the www_authenticate_uri parameter (which is visible to all end users) in configuration files. This would give sensitive information which may aid in additional system exploitation. This flaw affects openstack-tripleo-heat-templates versions prior to 11.6.1.",
            "references": [
                {
                    "reference_url": "https://bugs.launchpad.net/tripleo/+bug/1955397",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/tripleo/+bug/1955397"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2035793",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2035793"
                },
                {
                    "reference_url": "https://github.com/openstack/tripleo-heat-templates/commit/160936df134a471cfd245bd60964046027a571ea",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/tripleo-heat-templates/commit/160936df134a471cfd245bd60964046027a571ea"
                },
                {
                    "reference_url": "https://github.com/openstack/tripleo-heat-templates/commit/2b9461e97fc5c4ceb0848d1cc4484f656bb85515",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/tripleo-heat-templates/commit/2b9461e97fc5c4ceb0848d1cc4484f656bb85515"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4180",
                    "reference_id": "CVE-2021-4180",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4180"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hm3x-jwwf-jpr9",
                    "reference_id": "GHSA-hm3x-jwwf-jpr9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hm3x-jwwf-jpr9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61080?format=api",
                    "purl": "pkg:pypi/tripleo-heat-templates@11.6.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tripleo-heat-templates@11.6.1"
                }
            ],
            "aliases": [
                "CVE-2021-4180",
                "GHSA-hm3x-jwwf-jpr9"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pehq-me7c-5bcg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tripleo-heat-templates@11.6.0"
}