Integer Overflow or Wraparound Affecting virt:rhel/libvirt-libs package, versions <0:8.0.0-5.module_el8.6.0+2880+7d9e3703


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.02% (5th 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 Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-VIRT-5728470
  • published28 May 2023
  • disclosed10 May 2022

Introduced: 10 May 2022

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

How to fix?

Upgrade AlmaLinux:8 virt:rhel/libvirt-libs to version 0:8.0.0-5.module_el8.6.0+2880+7d9e3703 or higher.
This issue was patched in ALSA-2022:1759.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:rhel/libvirt-libs package and not the virt:rhel/libvirt-libs package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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 Base Scores

version 3.1