Vulnerability Details : CVE-2017-12188
arch/x86/kvm/mmu.c in the Linux kernel through 4.13.5, when nested virtualisation is used, does not properly traverse guest pagetable entries to resolve a guest virtual address, which allows L1 guest OS users to execute arbitrary code on the host OS or cause a denial of service (incorrect index during page walking, and host OS crash), aka an "MMU potential stack buffer overrun."
Vulnerability category: OverflowDirectory traversalExecute codeDenial of service
Exploit prediction scoring system (EPSS) score for CVE-2017-12188
Probability of exploitation activity in the next 30 days: 0.06%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 25 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2017-12188
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
6.9
|
MEDIUM | AV:L/AC:M/Au:N/C:C/I:C/A:C |
3.4
|
10.0
|
NIST |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
1.1
|
6.0
|
NIST |
CWE ids for CVE-2017-12188
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Secondary)
-
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).Assigned by: secalert@redhat.com (Primary)
References for CVE-2017-12188
-
https://access.redhat.com/errata/RHSA-2018:0412
RHSA-2018:0412 - Security Advisory - Red Hat Customer Portal
-
https://bugzilla.redhat.com/show_bug.cgi?id=1500380
1500380 – (CVE-2017-12188) CVE-2017-12188 Kernel: KVM: MMU potential stack buffer overrun during page walksIssue Tracking;Patch;Third Party Advisory
-
https://patchwork.kernel.org/patch/9996587/
[2/2] KVM: MMU: always terminate page walks at level 1 - PatchworkIssue Tracking;Patch;Vendor Advisory
-
https://access.redhat.com/errata/RHSA-2018:0395
RHSA-2018:0395 - Security Advisory - Red Hat Customer Portal
-
https://patchwork.kernel.org/patch/9996579/
[1/2] KVM: nVMX: update last_nonleaf_level when initializing nested EPT - PatchworkIssue Tracking;Patch;Vendor Advisory
-
http://www.securityfocus.com/bid/101267
Linux Kernel CVE-2017-12188 Remote Buffer Overflow VulnerabilityThird Party Advisory;VDB Entry
Products affected by CVE-2017-12188
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*