Amazon Linux 2 Security Advisory: ALAS-2023-2215
Advisory Release Date: 2023-08-17 11:58 Pacific
Advisory Updated Date: 2023-08-23 00:18 Pacific
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `insert`. The bug is fixed in version v0.27.4. (CVE-2021-29463)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `insert`. The bug is fixed in version v0.27.4. (CVE-2021-29464)
Affected Packages:
exiv2
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update exiv2 to update your system.
aarch64:
exiv2-0.27.0-4.amzn2.0.2.aarch64
exiv2-devel-0.27.0-4.amzn2.0.2.aarch64
exiv2-libs-0.27.0-4.amzn2.0.2.aarch64
exiv2-debuginfo-0.27.0-4.amzn2.0.2.aarch64
i686:
exiv2-0.27.0-4.amzn2.0.2.i686
exiv2-devel-0.27.0-4.amzn2.0.2.i686
exiv2-libs-0.27.0-4.amzn2.0.2.i686
exiv2-debuginfo-0.27.0-4.amzn2.0.2.i686
noarch:
exiv2-doc-0.27.0-4.amzn2.0.2.noarch
src:
exiv2-0.27.0-4.amzn2.0.2.src
x86_64:
exiv2-0.27.0-4.amzn2.0.2.x86_64
exiv2-devel-0.27.0-4.amzn2.0.2.x86_64
exiv2-libs-0.27.0-4.amzn2.0.2.x86_64
exiv2-debuginfo-0.27.0-4.amzn2.0.2.x86_64