Infinite loop in Exiv2 - CVE-2021-34334

 

Infinite loop in Exiv2 - CVE-2021-34334

Published: November 28, 2022


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

Vulnerability details

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

The vulnerability exists due to infinite loop when processing metadata of image files. A remote attacker can pass a specially crafted image to the application, consume all available system resources and cause denial of service conditions.


Affected software

Exiv2
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Storage
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 Desktop
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise High Performance Computing
Desktop Applications Module
openSUSE Leap
Ubuntu
openEuler
Fedora
exiv2-debugsource
libexiv2-12
libexiv2-12-debuginfo
libexiv2-devel
exiv2-debuginfo
libexiv2-14 (Ubuntu package)
libexiv2-26
exiv2-lang
libexiv2-26-32bit-debuginfo
libexiv2-26-32bit
libexiv2-doc
libexiv2-26-debuginfo
exiv2
libexiv2-27 (Ubuntu package)
mingw-exiv2
exiv2-help
exiv2-devel
libexiv2-27-64bit
libexiv2-27-64bit-debuginfo
libexiv2-27-32bit-debuginfo
libexiv2-27-32bit
libexiv2-27
libexiv2-27-debuginfo
libexiv2-xmp-static
media-gfx/exiv2

How to mitigate CVE-2021-34334

Install updates from vendor's website.

Exiv2 - update to 0.27.5 rc1
exiv2-debugsource - addressed in versions 0.23-12.18.1, 0.26-150000.6.21.1, 0.27.5-150400.15.7.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.21.1, 0.27.5-150400.15.7.1
exiv2-debuginfo - addressed in versions 0.23-12.18.1, 0.26-150000.6.21.1, 0.27.5-150400.15.7.1
libexiv2-14 (Ubuntu package) - update to 0.25-3.1ubuntu0.18.04.11
libexiv2-26 - update to 0.26-150000.6.21.1
exiv2-lang - addressed in versions 0.26-150000.6.21.1, 0.27.5-150400.15.7.1
libexiv2-26-32bit-debuginfo - update to 0.26-150000.6.21.1
libexiv2-26-32bit - update to 0.26-150000.6.21.1
libexiv2-doc - update to 0.26-150000.6.21.1
libexiv2-26-debuginfo - update to 0.26-150000.6.21.1
exiv2 - addressed in versions 0.26-150000.6.21.1, 0.27.5-150400.15.7.1
libexiv2-27 (Ubuntu package) - addressed in versions 0.27.2-8ubuntu2.6, 0.27.3-3ubuntu1.5
mingw-exiv2 - addressed in versions 0.27.4-3.fc33, 0.27.4-3.fc34
exiv2-help - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-debuginfo - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-debugsource - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-devel - addressed in versions 0.27.5-1, 0.27.5-2
exiv2 - addressed in versions 0.27.5-1, 0.27.5-2
libexiv2-27-64bit - update to 0.27.5-150400.15.7.1
libexiv2-27-64bit-debuginfo - update to 0.27.5-150400.15.7.1
libexiv2-27-32bit-debuginfo - update to 0.27.5-150400.15.7.1
libexiv2-27-32bit - update to 0.27.5-150400.15.7.1
libexiv2-27 - update to 0.27.5-150400.15.7.1
libexiv2-27-debuginfo - update to 0.27.5-150400.15.7.1
libexiv2-xmp-static - update to 0.27.5-150400.15.7.1
media-gfx/exiv2 - update to 0.28.1

External References

Related Security Bulletins