CVE-2021-37621

Name
CVE-2021-37621
Description
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop 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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/Exiv2/exiv2/pull/1778
CONFIRM https://github.com/Exiv2/exiv2/security/advisories/GHSA-m479-7frc-gqqg

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:* exiv2 >= None <= 0.27.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
exiv2 3.11-main 0.27.2-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
exiv2 edge-community 0.27.5-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
exiv2 3.14-community 0.27.5-r0 Natanael Copa <ncopa@alpinelinux.org> fixed