Out-of-bounds Write Affecting virt:rhel/libguestfs-tools-c package, versions <1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.08% (35th 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-ALMALINUX8-VIRT-5726930
  • published28 May 2023
  • disclosed10 May 2022

Introduced: 10 May 2022

CVE-2021-33285  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 virt:rhel/libguestfs-tools-c to version 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma 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/libguestfs-tools-c package and not the virt:rhel/libguestfs-tools-c package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the "bytes_in_use" field should be less than the "bytes_allocated" field. When it is not, the parsing of the records proceeds into the wild.

CVSS Scores

version 3.1