CVE-2021-37621
published 2021-08-09CVE-2021-37621: 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…
PriorityP419medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.10%
62.1th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | exiv2 | < exiv2 0.27.5-1 (bookworm) | exiv2 0.27.5-1 (bookworm) |
| exiv2 | exiv2 | <= 0.27.4 | — |
| exiv2 | exiv2 | >= 0 < 0.27.3-3+deb11u2 | 0.27.3-3+deb11u2 |
| exiv2 | exiv2 | >= 0 < 0.27.5-1 | 0.27.5-1 |
| exiv2 | exiv2 | >= 0 < 0.27.5-1 | 0.27.5-1 |
| exiv2 | exiv2 | >= 0 < 0.27.5-1 | 0.27.5-1 |
| exiv2 | exiv2 | >= 0 < 0.25-3.1ubuntu0.18.04.11 | 0.25-3.1ubuntu0.18.04.11 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8ubuntu2.6 | 0.27.2-8ubuntu2.6 |
| exiv2 | exiv2 | >= 0 < 0.25-2.1ubuntu16.04.7+esm4 | 0.25-2.1ubuntu16.04.7+esm4 |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_exiv2_0.27.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Exiv2 vulnerabilities
vendor_ubuntu·2021-08-17·CVSS 5.5
CVE-2021-37622 [MEDIUM] Exiv2 vulnerabilities
Title: Exiv2 vulnerabilities
Summary: Several security issues were fixed in Exiv2.
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
These issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04.
(CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618,
CVE-2021-37619, CVE-2021-37621, CVE-2021-37623)
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
Denial of service due to infinite loop in Image::printIFDStructure
vendor_msrc·2021-08-10·CVSS 5.5
CVE-2021-37621 [MEDIUM] CWE-835 Denial of service due to infinite loop in Image::printIFDStructure
Denial of service due to infinite loop in Image::printIFDStructure
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Referen
Red Hat
exiv2: DoS due to infinite loop in Image::printIFDStructure
vendor_redhat·2021-08-08·CVSS 5.5
CVE-2021-37621 [MEDIUM] CWE-835 exiv2: DoS due to infinite loop in Image::printIFDStructure
exiv2: DoS due to infinite loop in Image::printIFDStructure
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.
Package: exiv2 (Red Hat Enterprise Linux 6) - Out of support scope
Package: comp
Debian
CVE-2021-37621: exiv2 - Exiv2 is a command-line utility and C++ library for reading, writing, deleting, ...
vendor_debian·2021·CVSS 5.5
CVE-2021-37621 [MEDIUM] CVE-2021-37621: exiv2 - Exiv2 is a command-line utility and C++ library for reading, writing, deleting, ...
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.
Scope: local
bookworm: resolved (fixed in 0.27.5-1)
bullseye: resolved (fixed in 0.27.3-3+deb11u2)
forky: resolved (fixed in 0.27.5-1)
sid: res
OSV
exiv2 vulnerabilities
osv·2021-08-17·CVSS 5.5
CVE-2021-32815 [MEDIUM] exiv2 vulnerabilities
exiv2 vulnerabilities
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
These issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04.
(CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618,
CVE-2021-37619, CVE-2021-37621, CVE-2021-37623)
OSV
CVE-2021-37621: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files
osv·2021-08-09·CVSS 5.5
CVE-2021-37621 [MEDIUM] CVE-2021-37621: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/Exiv2/exiv2/pull/1778https://github.com/Exiv2/exiv2/security/advisories/GHSA-m479-7frc-gqqghttps://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/https://security.gentoo.org/glsa/202312-06https://github.com/Exiv2/exiv2/pull/1778https://github.com/Exiv2/exiv2/security/advisories/GHSA-m479-7frc-gqqghttps://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/https://security.gentoo.org/glsa/202312-06
2021-08-09
Published