CVE-2017-7518
What it is
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.
At a glance
- Exploitability
- Can be exploited from the same network segment with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-250 · Unnecessary privileges
- Record status
- Modified
Affected
- Redhat Enterprise Linux 7.0
- Redhat Enterprise Linux Desktop 7.0
- Redhat Enterprise Linux Server 7.0
- Redhat Enterprise Linux Server Aus 7.4
- Redhat Enterprise Linux Server Eus 7.4
- Redhat Enterprise Linux Server Eus 7.5
- Redhat Enterprise Linux Workstation 7.0
- Canonical Ubuntu Linux 14.04
Attack profile CVSS 3.0 · 5.5
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Raw vector
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2017-7518.md and follow it. Check whether this project is affected by CVE-2017-7518. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.openwall.com/lists/oss-security/2017/06/23/5
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- https://www.spinics.net/lists/kvm/msg151817.html
- http://www.openwall.com/lists/oss-security/2017/06/23/5
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- https://www.spinics.net/lists/kvm/msg151817.html
References
- http://www.openwall.com/lists/oss-security/2017/06/23/5
- http://www.securityfocus.com/bid/99263
- http://www.securitytracker.com/id/1038782
- https://access.redhat.com/articles/3290921
- https://access.redhat.com/errata/RHSA-2018:0395
- https://access.redhat.com/errata/RHSA-2018:0412
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- https://usn.ubuntu.com/3619-1/
- https://usn.ubuntu.com/3619-2/
- https://usn.ubuntu.com/3754-1/
- https://www.debian.org/security/2017/dsa-3981
- https://www.spinics.net/lists/kvm/msg151817.html
- http://www.openwall.com/lists/oss-security/2017/06/23/5
- http://www.securityfocus.com/bid/99263
- http://www.securitytracker.com/id/1038782
- https://access.redhat.com/articles/3290921
- https://access.redhat.com/errata/RHSA-2018:0395
- https://access.redhat.com/errata/RHSA-2018:0412
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- https://usn.ubuntu.com/3619-1/
- https://usn.ubuntu.com/3619-2/
- https://usn.ubuntu.com/3754-1/
- https://www.debian.org/security/2017/dsa-3981
- https://www.spinics.net/lists/kvm/msg151817.html