{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2017-7518",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Kernel:",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "4.12"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "[UNKNOWN]"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in the Linux kernel before version 4.12 in the way the KVM module processed the trap flag(TF) bit in EFLAGS during emulation of the syscall instruction, which leads to a debug exception(#DB) being raised in the guest stack. A user/process inside a guest could use this flaw to potentially escalate their privileges inside the guest. Linux guests are not affected by this."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "5.5/CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                    "version": "3.0"
                }
            ],
            [
                {
                    "vectorString": "5.4/AV:A/AC:M/Au:N/C:P/I:P/A:P",
                    "version": "2.0"
                }
            ]
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-250"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2018:0412",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0412"
            },
            {
                "name": "https://access.redhat.com/articles/3290921",
                "refsource": "CONFIRM",
                "url": "https://access.redhat.com/articles/3290921"
            },
            {
                "name": "USN-3619-2",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3619-2/"
            },
            {
                "name": "RHSA-2018:0395",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:0395"
            },
            {
                "name": "USN-3754-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3754-1/"
            },
            {
                "name": "1038782",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1038782"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518"
            },
            {
                "name": "[oss-security] 20170623 CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation",
                "refsource": "MLIST",
                "url": "http://www.openwall.com/lists/oss-security/2017/06/23/5"
            },
            {
                "name": "USN-3619-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3619-1/"
            },
            {
                "name": "DSA-3981",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2017/dsa-3981"
            },
            {
                "name": "[kvm] 20170622 [PATCH] KVM: x86: fix singlestepping over syscall",
                "refsource": "MLIST",
                "url": "https://www.spinics.net/lists/kvm/msg151817.html"
            },
            {
                "name": "99263",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/99263"
            }
        ]
    }
}