Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2017-7400"
        },
        {
            "alias": "GHSA-47vp-44v9-rhgq"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63380?format=api",
            "purl": "pkg:pypi/horizon@9.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@9.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63381?format=api",
            "purl": "pkg:pypi/horizon@10.0.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@10.0.3"
        },
        {
            "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63377?format=api",
            "purl": "pkg:pypi/horizon@9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6baw-j34x-xked"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63378?format=api",
            "purl": "pkg:pypi/horizon@10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6baw-j34x-xked"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63379?format=api",
            "purl": "pkg:pypi/horizon@11.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6baw-j34x-xked"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/horizon@11.0.0"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6baw-j34x-xked"
}