CVE-2018-1087
Last modified
CVE-2018-1087 is a high-severity vulnerability rated 8/10 on the CVSS scale. 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. EPSS estimates a 0.77% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | 4.16 | — |
| Linux | Linux Kernel | 4.17 | Rc1 |
| Canonical | Ubuntu Linux | 14.04 | — |
| Canonical | Ubuntu Linux | 16.04 | — |
| Canonical | Ubuntu Linux | 17.10 | — |
| Debian | Debian Linux | 8.0 | — |
| Debian | Debian Linux | 9.0 | — |
| Redhat | Enterprise Linux | 7.0 | — |
| Redhat | Enterprise Linux Desktop | 7.0 | — |
| Redhat | Enterprise Linux Server | 7.0 | — |
| Redhat | Enterprise Linux Server Aus | 7.2 | — |
| Redhat | Enterprise Linux Server Aus | 7.3 | — |
| Redhat | Enterprise Linux Server Aus | 7.4 | — |
| Redhat | Enterprise Linux Server Eus | 7.3 | — |
| Redhat | Enterprise Linux Server Eus | 7.4 | — |
| Redhat | Enterprise Linux Server Eus | 7.5 | — |
| Redhat | Enterprise Linux Server Tus | 7.2 | — |
| Redhat | Enterprise Linux Server Tus | 7.3 | — |
| Redhat | Enterprise Linux Server Tus | 7.4 | — |
| Redhat | Enterprise Linux Virtualization | 4.0 | — |
| Redhat | Enterprise Linux Workstation | 7.0 | — |
References
- http://www.securityfocus.com/bid/104127Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040862Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1318Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1345Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1347Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1348Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1355Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1524Third Party Advisory
- https://access.redhat.com/security/vulnerabilities/pop_ssThird Party Advisory
- 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-4196Third Party Advisory
- http://www.securityfocus.com/bid/104127Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040862Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1318Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1345Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1347Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1348Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1355Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1524Third Party Advisory
- https://access.redhat.com/security/vulnerabilities/pop_ssThird Party Advisory
- 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-4196Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-1087?
How severe is CVE-2018-1087?
How do I fix CVE-2018-1087?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-10864An uncontrolled resource consumption flaw has been discovere…5.3
- CVE-2018-10865It was discovered that the /configuration view of redhat-cer…7.5
- CVE-2018-10866It was discovered that the /configuration view of redhat-cer…9.1
- CVE-2018-10867Files are accessible without restrictions from the /update/r…9.1
- CVE-2018-10868redhat-certification 7 does not properly restrict the number…7.5
- CVE-2018-10869redhat-certification does not properly restrict files that c…7.5
- CVE-2018-10870redhat-certification does not properly sanitize paths in rhc…9.8
- CVE-2018-10871389-ds-base before versions 1.3.8.5, 1.4.0.12 is vulnerable …3.8
- CVE-2018-10872A flaw was found in the way the Linux kernel handled excepti…6.5
- CVE-2018-10873A vulnerability was discovered in SPICE before version 0.14.…8.3
- CVE-2018-10874In ansible it was found that inventory variables are loaded …7.8
- CVE-2018-10875A flaw was found in ansible. ansible.cfg is read from the cu…7.8
Are you affected by CVE-2018-1087?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
