Out-of-bounds read in XmpTextValue::read()
Published Aug 9, 2021
5.5
MEDIUMCVSS 3.1
EPSS 1.05%
Description
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 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 products
-
- Version <= 0.27.4StatusaffectedConstraints-
- Version
Configuration 2
- 33
- 34
Configuration 3
- 10.0
No data.
Red Hat Enterprise Linux 6
exiv2
Out of support scope
Red Hat Enterprise Linux 7
compat-exiv2-023
Out of support scope
Red Hat Enterprise Linux 7
compat-exiv2-026
Out of support scope
Red Hat Enterprise Linux 7
exiv2
Out of support scope
Red Hat Enterprise Linux 8
compat-exiv2-026
Fix deferred
Red Hat Enterprise Linux 8
exiv2
Fix deferred
Red Hat Enterprise Linux 9
exiv2
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | exiv2 | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | compat-exiv2-023 | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | compat-exiv2-026 | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | exiv2 | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | compat-exiv2-026 | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | exiv2 | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | exiv2 | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
To exploit this issue, an attacker needs to convince a user to process a specially crafted image file, specifically to read medatada of an image. Additionally, this flaw can lead to an out-of-bounds read and cause a denial of service with no other security impact. Due to these reasons, this vulnerability has been rated with a low severity.
References (10)
- https://access.redhat.com/security/cve/CVE-2021-37620 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1992180 Issue Tracking
- https://github.com/Exiv2/exiv2/pull/1769 PatchThird Party Advisory
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-v5g7-46xf-h728 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00004.html mailing-listMailing ListThird 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://nvd.nist.gov/vuln/detail/CVE-2021-37620
- https://security.gentoo.org/glsa/202312-06 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-37620
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2021-37620 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1992180 | Issue Tracking | |
| https://github.com/Exiv2/exiv2/pull/1769 | PatchThird Party Advisory | |
| https://github.com/Exiv2/exiv2/security/advisories/GHSA-v5g7-46xf-h728 | Third Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00004.html | mailing-listMailing ListThird 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://nvd.nist.gov/vuln/detail/CVE-2021-37620 | ||
| https://security.gentoo.org/glsa/202312-06 | vendor-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2021-37620 |
Change history (0)
No recorded changes yet.