CVE-2021-34334

Published: 09 August 2021

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.

Priority

Medium

CVSS 3 base score: 5.5

Status

Package Release Status
exiv2
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 21.04 (Hirsute Hippo)
Released (0.27.3-3ubuntu1.5)
Ubuntu 20.04 LTS (Focal Fossa)
Released (0.27.2-8ubuntu2.6)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (0.25-3.1ubuntu0.18.04.11)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (0.25-2.1ubuntu16.04.7+esm4)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/Exiv2/exiv2/pull/1766/commits/a35a2fde2dcd940a756feaeb027375b390bd8a06 (regression test)
Upstream: https://github.com/Exiv2/exiv2/pull/1766/commits/97c4880882d87aee77809b4b6e8fb4a5558e4ca2 (fix)
Upstream: https://github.com/Exiv2/exiv2/pull/1766/commits/1b204d9b19efcff1acad56737d6483a393e24832 (extra fix)
Upstream: https://github.com/Exiv2/exiv2/pull/1766/commits/ee8af718983469af5a86f041b58a5f52b1cbad76 (extra fix)
Upstream: https://github.com/Exiv2/exiv2/pull/1766/commits/e74d8accc431d9064589bad6cf8f17c30229523d (extra fix)