Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11460?format=api",
    "purl": "pkg:pypi/oslo-middleware@3.18.0",
    "type": "pypi",
    "namespace": "",
    "name": "oslo-middleware",
    "version": "3.18.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.8.1",
    "latest_non_vulnerable_version": "3.23.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35207?format=api",
            "vulnerability_id": "VCID-dkx9-196z-7kac",
            "summary": "python-oslo-middleware before versions 3.8.1, 3.19.1, 3.23.1 is vulnerable to an information disclosure. Software using the CatchError class could include sensitive values in a traceback's error message. System users could exploit this flaw to obtain sensitive information from OpenStack component error logs (for example, keystone tokens).",
            "references": [
                {
                    "reference_url": "http://lists.openstack.org/pipermail/openstack-announce/2017-January/002002.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.openstack.org/pipermail/openstack-announce/2017-January/002002.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2017-0300.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2017-0300.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2017-0435.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2017-0435.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:0300",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:0300"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:0435",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:0435"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/keystonemiddleware/+bug/1628031",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/keystonemiddleware/+bug/1628031"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2592",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2592"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xcp8-hh74-f6mc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xcp8-hh74-f6mc"
                },
                {
                    "reference_url": "https://github.com/openstack/oslo.middleware",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/oslo.middleware"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/oslo-middleware/PYSEC-2018-104.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/oslo-middleware/PYSEC-2018-104.yaml"
                },
                {
                    "reference_url": "https://review.openstack.org/#/c/425730",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://review.openstack.org/#/c/425730"
                },
                {
                    "reference_url": "https://review.openstack.org/#/c/425730/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://review.openstack.org/#/c/425730/"
                },
                {
                    "reference_url": "https://review.openstack.org/#/c/425732",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://review.openstack.org/#/c/425732"
                },
                {
                    "reference_url": "https://review.openstack.org/#/c/425732/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://review.openstack.org/#/c/425732/"
                },
                {
                    "reference_url": "https://review.openstack.org/#/c/425734",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://review.openstack.org/#/c/425734"
                },
                {
                    "reference_url": "https://review.openstack.org/#/c/425734/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://review.openstack.org/#/c/425734/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3666-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3666-1"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3666-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3666-1/"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95827",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/95827"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2592",
                    "reference_id": "CVE-2017-2592",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2592"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11466?format=api",
                    "purl": "pkg:pypi/oslo-middleware@3.19.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-middleware@3.19.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11468?format=api",
                    "purl": "pkg:pypi/oslo-middleware@3.23.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-middleware@3.23.1"
                }
            ],
            "aliases": [
                "CVE-2017-2592",
                "GHSA-xcp8-hh74-f6mc",
                "PYSEC-2018-104"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dkx9-196z-7kac"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-middleware@3.18.0"
}