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


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
7.93% (95th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-QEMUIMG-4510588
  • 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 RHEL:7 qemu-img to version 10:1.5.3-86.el7 or higher.
This issue was patched in RHSA-2015:0349.

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 RHEL. See How to fix? for RHEL: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