Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63379?format=api",
    "purl": "pkg:pypi/horizon@11.0.0",
    "type": "pypi",
    "namespace": "",
    "name": "horizon",
    "version": "11.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "11.0.1",
    "latest_non_vulnerable_version": "2013.2.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44079?format=api",
            "vulnerability_id": "VCID-6baw-j34x-xked",
            "summary": "OpenStack Horizon Cross-site Scripting (XSS)\nOpenStack Horizon 9.x through 9.1.1, 10.x through 10.0.2, and 11.0.0 allows remote authenticated administrators to conduct XSS attacks via a crafted federation mapping.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:1598",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:1598"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:1739",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:1739"
                },
                {
                    "reference_url": "https://launchpad.net/bugs/1667086",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://launchpad.net/bugs/1667086"
                },
                {
                    "reference_url": "https://opendev.org/openstack/horizon/commit/1407cfe53144146b29679de21f28c952282043ae",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/horizon/commit/1407cfe53144146b29679de21f28c952282043ae"
                },
                {
                    "reference_url": "https://opendev.org/openstack/horizon/commit/511b325b45b6bd7a88bb6df1a4639b80d0121277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/horizon/commit/511b325b45b6bd7a88bb6df1a4639b80d0121277"
                },
                {
                    "reference_url": "https://opendev.org/openstack/horizon/commit/a835dbfbaa2c70329c08d4b8429d49315dc6d651",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/horizon/commit/a835dbfbaa2c70329c08d4b8429d49315dc6d651"
                },
                {
                    "reference_url": "https://opendev.org/openstack/horizon/commit/ce80bb6fec3cb0262728e7ae8b9d695cf832e5bf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/horizon/commit/ce80bb6fec3cb0262728e7ae8b9d695cf832e5bf"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7400",
                    "reference_id": "CVE-2017-7400",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7400"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-47vp-44v9-rhgq",
                    "reference_id": "GHSA-47vp-44v9-rhgq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-47vp-44v9-rhgq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63382?format=api",
                    "purl": "pkg:pypi/horizon@11.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@11.0.1"
                }
            ],
            "aliases": [
                "CVE-2017-7400",
                "GHSA-47vp-44v9-rhgq"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6baw-j34x-xked"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@11.0.0"
}