Improper Input Validation Affecting qemu-img package, versions <10:1.5.3-86.el7


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
5.67% (94th 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 IDSNYK-CENTOS7-QEMUIMG-2043687
  • published26 Jul 2021
  • disclosed12 Nov 2014

Introduced: 12 Nov 2014

CVE-2014-7840  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:7 qemu-img to version 10:1.5.3-86.el7 or higher.

NVD Description

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

The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during migration, allows remote attackers to execute arbitrary code via a crafted (1) offset or (2) length value in savevm data.

CVSS Scores

version 3.1