SecurityContext

CVE-2017-7518: Linux Kernel - Privilege Escalation

  • Cve: CVE-2017-7518
  • Name: Linux Kernel - Privilege Escalation
  • Description: 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: Guest users can potentially escalate privileges within the guest environment, leading to unauthorized access or control.
  • Remediation: Update to Linux kernel version 4.12 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs guest user privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00672
  • Epss percentile: 0.53022
  • Assignee: [email protected]
  • Published at: 2018-07-30T15:29:00Z
  • Age in days: 3039
  • Modified at: 2026-06-17T01:24:30Z
  • Patch available: yes
  • References total: 12
  • Products total: 9
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-7518
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-250Execution with Unnecessary Privileges
CWE-755Improper Handling of Exceptional Conditions

References

Same in every row:

  • Source: nvd
UrlTags
http://www.openwall.com/lists/oss-security/2017/06/23/5Mailing List, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518Issue Tracking, Patch, Third Party Advisory
https://www.spinics.net/lists/kvm/msg151817.htmlMailing List, Patch
http://www.securityfocus.com/bid/99263Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1038782Third Party Advisory, VDB Entry
https://access.redhat.com/articles/3290921Permissions Required, Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0395Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0412Third Party Advisory
https://usn.ubuntu.com/3619-1/Third Party Advisory
https://usn.ubuntu.com/3619-2/Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
linux:linux_kernel< 4.12/v1/products/linux/linux_kernel
debian:debian_linux= 9.0, = 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 16.04, = 14.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux= 7.0/v1/products/redhat/enterprise_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:enterprise_linux_server_aus= 7.4/v1/products/redhat/enterprise_linux_server_aus
redhat:enterprise_linux_server_eus= 7.5, = 7.4/v1/products/redhat/enterprise_linux_server_eus

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports