CVE-2021-29623 Uninitialized variable bug in Exiv2
LowCVSS 3.3
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/exiv2(Debian:12) | < 0.27.5-1 | 0.27.5-1 |
| debian/exiv2(Debian:13) | < 0.27.5-1 | 0.27.5-1 |
| debian/exiv2(Debian:14) | < 0.27.5-1 | 0.27.5-1 |
| exiv2 | < 0.27.4 | 0.27.4 |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| alpine/exiv2(Alpine:v3.13) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.14) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.15) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.16) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.17) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.18) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.19) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.20) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.21) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.22) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.23) | < 0.27.3-r2 | 0.27.3-r2 |
| alpine/exiv2(Alpine:v3.24) | < 0.27.3-r2 | 0.27.3-r2 |
| exiv2 | = < v0.27.4 | No fix listed |
References
- Debian Security Tracker CVE-2021-29623 vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- FEDORA-2021-d1d5a0bf0f vendor-advisory
- FEDORA-2021-8253c78bd7 vendor-advisory
- FEDORA-2021-bdba47348c vendor-advisory
- FEDORA-2021-8917c5d9d2 vendor-advisory
- GLSA-202312-06 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking