{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2018-1087",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "KVM",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "kernel 4.16"
                                        },
                                        {
                                            "version_value": "kernel 4.16-rc7"
                                        },
                                        {
                                            "version_value": "kernel 4.17-rc1"
                                        },
                                        {
                                            "version_value": "kernel 4.17-rc2"
                                        },
                                        {
                                            "version_value": "kernel 4.17-rc3"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "kernel"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "kernel KVM before versions kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1, kernel 4.17-rc2 and kernel 4.17-rc3 is vulnerable to a flaw in the way the Linux kernel's KVM hypervisor handled exceptions delivered after a stack switch operation via Mov SS or Pop SS instructions. During the stack switch operation, the processor did not deliver interrupts and exceptions, rather they are delivered once the first instruction after the stack switch is executed. An unprivileged KVM guest user could use this flaw to crash the guest or, potentially, escalate their privileges in the guest."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "8.0/CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                    "version": "3.0"
                }
            ]
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-250"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2018:1347",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:1347"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087"
            },
            {
                "name": "1040862",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1040862"
            },
            {
                "name": "RHSA-2018:1348",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:1348"
            },
            {
                "name": "DSA-4196",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2018/dsa-4196"
            },
            {
                "name": "RHSA-2018:1355",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:1355"
            },
            {
                "name": "RHSA-2018:1345",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:1345"
            },
            {
                "name": "https://access.redhat.com/security/vulnerabilities/pop_ss",
                "refsource": "MISC",
                "url": "https://access.redhat.com/security/vulnerabilities/pop_ss"
            },
            {
                "name": "RHSA-2018:1318",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:1318"
            },
            {
                "name": "RHSA-2018:1524",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:1524"
            },
            {
                "name": "http://www.openwall.com/lists/oss-security/2018/05/08/5",
                "refsource": "MISC",
                "url": "http://www.openwall.com/lists/oss-security/2018/05/08/5"
            },
            {
                "name": "104127",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/104127"
            },
            {
                "name": "USN-3641-2",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3641-2/"
            },
            {
                "name": "USN-3641-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3641-1/"
            }
        ]
    }
}