CVE-2021-37618

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 out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to print 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. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). 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) Not vulnerable
(code not present)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(code not present)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/Exiv2/exiv2/pull/1759/commits/f13ebca839e55d0c7ea1c7f57ae667c47fe9c0d5 (regression test)
Upstream: https://github.com/Exiv2/exiv2/pull/1759/commits/dbf472751fc8b87ea7d1de02f54eaf64233a2fb6 (fix)