5.5medium
Denial of service due to integer overflow in loop counter
- Severity
- 5.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.11% (higher than 66% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Exiv2 exiv2 | <= 0.27.4, up to 0.27.4 | CVE List, NVD |
| fedoraproject fedora | 33, 34 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| GitHub_M | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Exiv2 es una utilidad de línea de comandos y una biblioteca C++ para leer, escribir, borrar y modificar los metadatos de los archivos de imagen. Un bucle infinito es desencadenado cuando Exiv2 es usado para leer los metadatos de un archivo de imagen diseñado. Un atacante podría explotar potencialmente la vulnerabilidad para causar una denegación de servicio, si puede engañar a la víctima para que ejecute Exiv2 en un archivo de imagen diseñado. El bug ha sido corregido en la versión v0.27.5
References
| https://github.com/Exiv2/exiv2/security/advisories/GHSA-hqjh-hpv8-8r9p | patch, third-party-advisory | |
| https://github.com/Exiv2/exiv2/pull/1766 | patch, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/ | vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00004.html | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202312-06 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-34334 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-34334 changed 2026-06-17 | Public domain |