RCE in Qemu

CVE-2017-8284

The disas_insn function in target/i386/translate.c in QEMU before 2.9.0, when TCG mode without hardware acceleration is used, does not limit the instruction size, which allows local users to gain privileges by creating a modified basic block that injects code into a setuid program, as demonstrated by procmail. NOTE: the vendor has stated "this bug does not violate any security guarantees QEMU makes.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.004 (35.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Qemu
  • N/a — versions n/a

Weakness classification (CWE)

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)

Frequently asked questions

What is CVE-2017-8284?
CVE-2017-8284 is a high-severity vulnerability in Qemu, classified under Code Injection. CVSS score: 7.0/10. Published 2017-04-26.
How severe is CVE-2017-8284?
High severity. CVSS v3 base score is 7.0 out of 10.