CVE Vulnerabilities

CVE-2021-29623

Use of Uninitialized Resource

Published: May 13, 2021 | Modified: Dec 22, 2023
CVSS 3.x
3.3
LOW
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
4 LOW
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Ubuntu
LOW

Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The read of uninitialized memory is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to leak a few bytes of stack memory, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4.

Weakness

The product uses or accesses a resource that has not been initialized.

Affected Software

Name Vendor Start Version End Version
Exiv2 Exiv2 * 0.27.4 (excluding)
Red Hat Enterprise Linux 8 RedHat exiv2-0:0.27.4-5.el8 *
Exiv2 Ubuntu devel *
Exiv2 Ubuntu focal *
Exiv2 Ubuntu groovy *
Exiv2 Ubuntu hirsute *
Exiv2 Ubuntu impish *
Exiv2 Ubuntu jammy *
Exiv2 Ubuntu trusty *
Exiv2 Ubuntu upstream *
Exiv2 Ubuntu xenial *

Potential Mitigations

References