Integer Overflow or Wraparound Affecting qemu-img package, versions <15:6.2.0-11.module+el8.6.0+20659+3dcf7c70


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (21st 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-ORACLE8-QEMUIMG-2829397
  • published18 May 2022
  • disclosed7 Sept 2021

Introduced: 7 Sep 2021

CVE-2021-39254  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Oracle:8 qemu-img to version 15:6.2.0-11.module+el8.6.0+20659+3dcf7c70 or higher.
This issue was patched in ELSA-2022-1759.

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 Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22.

CVSS Scores

version 3.1