SB2024062610 - Ubuntu update for libheif



SB2024062610 - Ubuntu update for libheif

Published: June 26, 2024

Security Bulletin ID SB2024062610
Severity
High
Patch available
YES
Number of vulnerabilities 8
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 75% Medium 13% Low 13%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 8 secuirty vulnerabilities.


1) Use-after-free (CVE-ID: CVE-2019-11471)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.


2) Buffer overflow (CVE-ID: CVE-2020-23109)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing HEIF files within the convert_colorspace() function in heif_colorconversion.cc. A remote attacker can create a specially crafted HEIF image, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


3) Buffer overflow (CVE-ID: CVE-2023-0996)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing ISO/IEC 23008-12:2017 HEIF and AVIF files. A remote attacker can trick the victim into opening a specially crafted image file, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


4) Division by zero (CVE-ID: CVE-2023-29659)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a floating point exception within the heif::Fraction::round() function in box.cc. A remote attacker can perform a denial of service (DoS) attack.


5) NULL pointer dereference (CVE-ID: CVE-2023-49460)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the UncompressedImageCodec::decode_uncompressed_image() function. A remote attacker can trick the victim to open a specially crafted media file and perform a denial of service (DoS) attack.


6) Buffer overflow (CVE-ID: CVE-2023-49462)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in /libheif/exif.cc. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


7) Buffer overflow (CVE-ID: CVE-2023-49463)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the find_exif_tag() function in /libheif/exif.cc. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


8) Use-after-free (CVE-ID: CVE-2023-49464)

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci() function. A remote attacker can trick the victim to open a specially crafted media file, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Remediation

Install update from vendor's website.