Arbitrary Code Injection Affecting qemu package, versions <1:2.10.0-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-QEMU-1558180
  • published26 Apr 2017
  • disclosed26 Apr 2017

Introduced: 26 Apr 2017

CVE-2017-8284  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:12 qemu to version 1:2.10.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu package and not the qemu package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.