Integer Overflow or Wraparound Affecting qemu-project/qemu package, versions [,1.7.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th 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-UNMANAGED-QEMUPROJECTQEMU-3007186
  • published26 Jan 2022
  • disclosed10 Aug 2017
  • creditUnknown

Introduced: 10 Aug 2017

CVE-2014-0143  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade qemu-project/qemu to version 1.7.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Multiple integer overflows in the block drivers in QEMU, possibly before 2.0.0, allow local users to cause a denial of service (crash) via a crafted catalog size in (1) the parallels_open function in block/parallels.c or (2) bochs_open function in bochs.c, a large L1 table in the (3) qcow2_snapshot_load_tmp in qcow2-snapshot.c or (4) qcow2_grow_l1_table function in qcow2-cluster.c, (5) a large request in the bdrv_check_byte_request function in block.c and other block drivers, (6) crafted cluster indexes in the get_refcount function in qcow2-refcount.c, or (7) a large number of blocks in the cloop_open function in cloop.c, which trigger buffer overflows, memory corruption, large memory allocations and out-of-bounds read and writes.

CVSS Scores

version 3.1