Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/8931?format=api",
    "purl": "pkg:pypi/keystonemiddleware@1.3.0",
    "type": "pypi",
    "namespace": "",
    "name": "keystonemiddleware",
    "version": "1.3.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.5.4",
    "latest_non_vulnerable_version": "4.1.0",
    "affected_by_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/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"
                },
                {
                    "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"
                }
            ],
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34956?format=api",
            "vulnerability_id": "VCID-nkpc-cb73-47ez",
            "summary": "The s3_token middleware in OpenStack keystonemiddleware before 1.6.0 and python-keystoneclient before 1.4.0 disables certification verification when the \"insecure\" option is set in a paste configuration (paste.ini) file regardless of the value, which allows remote attackers to conduct man-in-the-middle attacks via a crafted certificate, a different vulnerability than CVE-2014-7144.",
            "references": [
                {
                    "reference_url": "http://lists.openstack.org/pipermail/openstack-announce/2015-April/000350.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.openstack.org/pipermail/openstack-announce/2015-April/000350.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2015-1677.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2015-1677.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2015-1685.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2015-1685.html"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/keystonemiddleware/+bug/1411063",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/keystonemiddleware/+bug/1411063"
                },
                {
                    "reference_url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/74187",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/74187"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-2705-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-2705-1"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8939?format=api",
                    "purl": "pkg:pypi/keystonemiddleware@1.6.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-j99r-n3ep-p3dg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keystonemiddleware@1.6.0"
                }
            ],
            "aliases": [
                "CVE-2015-1852",
                "PYSEC-2015-30",
                "PYSEC-2015-31"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nkpc-cb73-47ez"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keystonemiddleware@1.3.0"
}