Integer Overflow or Wraparound Affecting qemu-guest-agent package, versions *


0.0
low

Snyk CVSS

    Attack Complexity Low
    Scope Changed

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 14.12% (96th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
6.2 medium
Expand this section
Red Hat
3.8 low

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 ID SNYK-CENTOS7-QEMUGUESTAGENT-1990731
  • published 26 Jul 2021
  • disclosed 22 Jun 2018

How to fix?

There is no fixed version for Centos:7 qemu-guest-agent.

NVD Description

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

qmp_guest_file_read in qga/commands-posix.c and qga/commands-win32.c in qemu-ga (aka QEMU Guest Agent) in QEMU 2.12.50 has an integer overflow causing a g_malloc0() call to trigger a segmentation fault when trying to allocate a large memory chunk. The vulnerability can be exploited by sending a crafted QMP command (including guest-file-read with a large count value) to the agent via the listening socket.