Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/83085?format=api",
    "vulnerability_id": "VCID-cxt8-a2gb-ubaj",
    "summary": "edk2: Privilege escalation via heap-based buffer overflow in Decode() function",
    "aliases": [
        {
            "alias": "CVE-2017-5735"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/106687?format=api",
            "purl": "pkg:rpm/redhat/ovmf@20180508-6.gitee3198e672e2?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7k66-95dh-33eu"
                },
                {
                    "vulnerability": "VCID-bprw-tev2-p7be"
                },
                {
                    "vulnerability": "VCID-cxt8-a2gb-ubaj"
                },
                {
                    "vulnerability": "VCID-dst7-q1b4-63ft"
                },
                {
                    "vulnerability": "VCID-q448-gmmp-pkaa"
                },
                {
                    "vulnerability": "VCID-rmtn-3fr5-s7ef"
                },
                {
                    "vulnerability": "VCID-s69t-vde7-1fem"
                },
                {
                    "vulnerability": "VCID-um36-tnsf-s7dn"
                },
                {
                    "vulnerability": "VCID-xauk-31cb-6fgh"
                },
                {
                    "vulnerability": "VCID-z3fb-nqcp-g3fq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ovmf@20180508-6.gitee3198e672e2%3Farch=el7"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-5735.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-5735.json"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1641465",
            "reference_id": "1641465",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1641465"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5735",
            "reference_id": "CVE-2017-5735",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5735"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:2125",
            "reference_id": "RHSA-2019:2125",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2019:2125"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 287,
            "name": "Improper Authentication",
            "description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.7 - 6.7",
    "exploitability": "0.5",
    "weighted_severity": "6.0",
    "risk_score": 3.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cxt8-a2gb-ubaj"
}