8.0
HIGH
CVE-2018-1087
Kernel KVM Stack Switch Exception Handling Vulnerability
Description

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.

INFO

Published Date :

May 15, 2018, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 3:59 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

2.1
Affected Products

The following products are affected by CVE-2018-1087 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat enterprise_linux_desktop
3 Redhat enterprise_linux_server
4 Redhat enterprise_linux_workstation
5 Redhat enterprise_linux_server_aus
6 Redhat enterprise_linux_server_eus
7 Redhat enterprise_linux_server_tus
8 Redhat enterprise_linux_virtualization
1 Linux linux_kernel
1 Canonical ubuntu_linux
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-1087.

URL Resource
http://www.openwall.com/lists/oss-security/2018/05/08/5 Mailing List
http://www.securityfocus.com/bid/104127 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1040862 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1318 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1345 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1347 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1348 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1355 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1524 Third Party Advisory
https://access.redhat.com/security/vulnerabilities/pop_ss Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087 Issue Tracking
https://usn.ubuntu.com/3641-1/ Third Party Advisory
https://usn.ubuntu.com/3641-2/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4196 Third Party Advisory
http://www.openwall.com/lists/oss-security/2018/05/08/5 Mailing List
http://www.securityfocus.com/bid/104127 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1040862 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1318 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1345 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1347 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1348 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1355 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1524 Third Party Advisory
https://access.redhat.com/security/vulnerabilities/pop_ss Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087 Issue Tracking
https://usn.ubuntu.com/3641-1/ Third Party Advisory
https://usn.ubuntu.com/3641-2/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4196 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1087 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1087 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2018/05/08/5
    Added Reference http://www.securityfocus.com/bid/104127
    Added Reference http://www.securitytracker.com/id/1040862
    Added Reference https://access.redhat.com/errata/RHSA-2018:1318
    Added Reference https://access.redhat.com/errata/RHSA-2018:1345
    Added Reference https://access.redhat.com/errata/RHSA-2018:1347
    Added Reference https://access.redhat.com/errata/RHSA-2018:1348
    Added Reference https://access.redhat.com/errata/RHSA-2018:1355
    Added Reference https://access.redhat.com/errata/RHSA-2018:1524
    Added Reference https://access.redhat.com/security/vulnerabilities/pop_ss
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087
    Added Reference https://usn.ubuntu.com/3641-1/
    Added Reference https://usn.ubuntu.com/3641-2/
    Added Reference https://www.debian.org/security/2018/dsa-4196
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Red Hat, Inc. AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE Red Hat, Inc. CWE-250
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-264 NVD-CWE-noinfo
  • Initial Analysis by [email protected]

    Jun. 19, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087 Issue Tracking
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1318 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1318 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3641-1/ No Types Assigned https://usn.ubuntu.com/3641-1/ Third Party Advisory
    Changed Reference Type https://access.redhat.com/security/vulnerabilities/pop_ss No Types Assigned https://access.redhat.com/security/vulnerabilities/pop_ss Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3641-2/ No Types Assigned https://usn.ubuntu.com/3641-2/ Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1347 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1347 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1348 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1348 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1524 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1524 Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4196 No Types Assigned https://www.debian.org/security/2018/dsa-4196 Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1040862 No Types Assigned http://www.securitytracker.com/id/1040862 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2018/05/08/5 No Types Assigned http://www.openwall.com/lists/oss-security/2018/05/08/5 Mailing List
    Changed Reference Type http://www.securityfocus.com/bid/104127 No Types Assigned http://www.securityfocus.com/bid/104127 Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1345 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1345 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1355 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1355 Third Party Advisory
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.16:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.16:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.17:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.17:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.17:rc3:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_virtualization:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 30, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3641-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 17, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4196 [No Types Assigned]
    Added Reference https://usn.ubuntu.com/3641-2/ [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1524 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1355 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1348 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1347 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1345 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1318 [No Types Assigned]
    Added Reference http://www.securitytracker.com/id/1040862 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/104127 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1087 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-1087 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.32614

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability