5.5med

CVE-2017-7518

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 emulati…

Published 8 y ago · modified 4 mo ago · JSON

CVSS
5.5
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
0.7%
percentile 52%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.67% probability of exploitation in the next 30 days, higher than 52% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.05.5CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA3.05.5CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.04.6AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • [UNKNOWN] Kernel:

Classification

Weakness
  • CWE-250 Execution with Unnecessary Privileges
  • CWE-755 Improper Handling of Exceptional Conditions
Technology feeds
Linux kernel (RSS, critical only)

References

  • access.redhat.com /errata/RHSA-2018:0412 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /articles/3290921 · x_refsource_CONFIRM, x_transferred
  • usn.ubuntu.com /3619-2/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • access.redhat.com /errata/RHSA-2018:0395 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • usn.ubuntu.com /3754-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • securitytracker.com /id/1038782 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2017-7518 · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2017/06/23/5 · mailing-list, x_refsource_MLIST, x_transferred
  • usn.ubuntu.com /3619-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • debian.org /security/2017/dsa-3981 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • spinics.net /lists/kvm/msg151817.html · mailing-list, x_refsource_MLIST, x_transferred
  • securityfocus.com /bid/99263 · vdb-entry, x_refsource_BID, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.