Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/9132?format=api",
    "purl": "pkg:pypi/keystonemiddleware@1.5.4",
    "type": "pypi",
    "namespace": "",
    "name": "keystonemiddleware",
    "version": "1.5.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.3",
    "latest_non_vulnerable_version": "2.3.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34981?format=api",
            "vulnerability_id": "VCID-j99r-n3ep-p3dg",
            "summary": "The identity service in OpenStack Identity (Keystone) before 2015.1.3 (Kilo) and 8.0.x before 8.0.2 (Liberty) and keystonemiddleware (formerly python-keystoneclient) before 1.5.4 (Kilo) and Liberty before 2.3.3 does not properly invalidate authorization tokens when using the PKI or PKIZ token providers, which allows remote authenticated users to bypass intended access restrictions and gain access to cloud resources by manipulating byte fields within a revoked token.",
            "references": [
                {
                    "reference_url": "https://bugs.launchpad.net/keystone/+bug/1490804",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/keystone/+bug/1490804"
                },
                {
                    "reference_url": "https://github.com/openstack/keystone/commit/bff03b5726fe5cac93d44a66715eea49b89c8cb0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/keystone/commit/bff03b5726fe5cac93d44a66715eea49b89c8cb0"
                },
                {
                    "reference_url": "https://github.com/openstack/keystone/commit/d5378f173da14a34ca010271477337879002d6d0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/keystone/commit/d5378f173da14a34ca010271477337879002d6d0"
                },
                {
                    "reference_url": "https://github.com/openstack/keystonemiddleware/commit/96ab58e6863c92575ada57615b19652e502adfd8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/keystonemiddleware/commit/96ab58e6863c92575ada57615b19652e502adfd8"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2016-20.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2016-20.yaml"
                },
                {
                    "reference_url": "https://security.openstack.org/ossa/OSSA-2016-005.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.openstack.org/ossa/OSSA-2016-005.html"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200228002640/http://www.securityfocus.com/bid/80498",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200228002640/http://www.securityfocus.com/bid/80498"
                },
                {
                    "reference_url": "https://wiki.openstack.org/wiki/OSSN/OSSN-0062",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://wiki.openstack.org/wiki/OSSN/OSSN-0062"
                },
                {
                    "reference_url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/80498",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/80498"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-7546",
                    "reference_id": "CVE-2015-7546",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-7546"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8c4w-v65p-jvcv",
                    "reference_id": "GHSA-8c4w-v65p-jvcv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8c4w-v65p-jvcv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62545?format=api",
                    "purl": "pkg:pypi/keystonemiddleware@4.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keystonemiddleware@4.1.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9132?format=api",
                    "purl": "pkg:pypi/keystonemiddleware@1.5.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keystonemiddleware@1.5.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9133?format=api",
                    "purl": "pkg:pypi/keystonemiddleware@2.3.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keystonemiddleware@2.3.3"
                }
            ],
            "aliases": [
                "CVE-2015-7546",
                "GHSA-8c4w-v65p-jvcv",
                "PYSEC-2016-20"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j99r-n3ep-p3dg"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keystonemiddleware@1.5.4"
}