Out-of-bounds read in Exiv2 - CVE-2021-29473

 

Out-of-bounds read in Exiv2 - CVE-2021-29473

Published: August 17, 2021


Vulnerability identifier: #VU55921
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-29473
CWE-ID:
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a boundary condition when processing Exif, IPTC, XMP and ICC image metadata. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and crash the affected application.


Affected software

Exiv2
Gentoo Linux
Arch Linux
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
Ubuntu
openEuler
Fedora
exiv2 (Debian package)
exiv2-debuginfo
exiv2-debugsource
libexiv2-12
libexiv2-12-debuginfo
libexiv2-devel
libexiv2-14 (Ubuntu package)
exiv2 (Ubuntu package)
exiv2
exiv2-help
exiv2-devel
libexiv2-26-debuginfo
libexiv2-26
libexiv2-26-32bit-debuginfo
libexiv2-26-32bit
exiv2-lang
libexiv2-doc
libexiv2-27 (Ubuntu package)
mingw-exiv2
exiv2 (Red Hat package)
exiv2-libs
media-gfx/exiv2

How to mitigate CVE-2021-29473

Install update from vendor's website.

Exiv2 - update to 0.27.4
exiv2 (Debian package) - update to 0.25-4+deb10u2
exiv2-debuginfo - addressed in versions 0.23-12.18.1, 0.26-150000.6.26.1
exiv2-debugsource - addressed in versions 0.23-12.18.1, 0.26-150000.6.26.1
libexiv2-12 - update to 0.23-12.18.1
libexiv2-12-debuginfo - update to 0.23-12.18.1
libexiv2-devel - addressed in versions 0.23-12.18.1, 0.26-150000.6.26.1
libexiv2-14 (Ubuntu package) - addressed in versions 0.25-3.1ubuntu0.18.04.9, 0.25-3.1ubuntu0.18.04.11
exiv2 (Ubuntu package) - addressed in versions 0.25-3.1ubuntu0.18.04.9, 0.27.2-8ubuntu2.4, 0.27.2-8ubuntu2.7, 0.27.3-3ubuntu0.4, 0.27.3-3ubuntu1.3
exiv2 - update to 0.26-25
exiv2-help - update to 0.26-25
exiv2-debugsource - update to 0.26-25
exiv2-debuginfo - update to 0.26-25
exiv2-devel - update to 0.26-25
libexiv2-26-debuginfo - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
exiv2 - update to 0.26-150000.6.26.1
libexiv2-26 - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
libexiv2-26-32bit-debuginfo - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
libexiv2-26-32bit - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
exiv2-lang - update to 0.26-150000.6.26.1
libexiv2-doc - update to 0.26-150000.6.26.1
libexiv2-27 (Ubuntu package) - addressed in versions 0.27.2-8ubuntu2.4, 0.27.3-3ubuntu0.4, 0.27.3-3ubuntu1.3
mingw-exiv2 - addressed in versions 0.27.3-5.fc33, 0.27.3-5.fc34
exiv2 - addressed in versions 0.27.3-6.fc33, 0.27.3-6.fc34
exiv2 (Red Hat package) - update to 0.27.4-5.el8
exiv2 - update to 0.27.5-2
exiv2-libs - update to 0.27.5-2
media-gfx/exiv2 - update to 0.28.1

External References

Related Security Bulletins