CVE-2021-29623 Uninitialized variable bug in Exiv2

Low 3.6 Published Updated

An attacker can leak stack memory bytes by tricking a user into processing a crafted image file with the Exiv2 library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-29623?

CVE-2021-29623 is a low-severity vulnerability in Exiv2 Exiv2, published on 13 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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: CWE-908

Which versions are affected by CVE-2021-29623?

It affects 2 products.

Linux distribution packages (1)
exiv2 openSUSE:TumbleweedAll versions0.27.5-2.1

Products include Exiv2 Exiv2, Fedoraproject Fedora.

How do I fix CVE-2021-29623?

Upgrade to a fixed version.

Is CVE-2021-29623 being exploited?

There is no known exploitation of CVE-2021-29623 in the wild and no public exploit code.

All Exiv2 Exiv2 vulnerabilities

Sources

Also known as AZL-7212, CLEANSTART-2024-RH47389, DEBIAN-CVE-2021-29623, GHSA-6253-qjwm-3q4v, UBUNTU-CVE-2021-29623, openSUSE-SU-2024:12063-1.

Is CVE-2021-29623 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free