
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-29458 affects Exiv2, a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The vulnerability was discovered in versions v0.27.3 and earlier, with a fix released in version v0.27.4 (GitHub Advisory).
The vulnerability is an out-of-bounds read in Exiv2::Internal::CrwMap::encode function. The issue occurs when Exiv2 is used to write metadata into a crafted image file. The problem stems from a negative integer overflow in cc->size() - 8, where cc->size() could be less than 28 bytes (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).
An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. The impact is limited as this bug is only triggered when writing metadata, which is a less frequently used Exiv2 operation than reading metadata. For example, to trigger the bug in the Exiv2 command-line application, an extra command-line argument such as 'insert' is required (GitHub Advisory).
The vulnerability has been fixed in Exiv2 version v0.27.4. Users are recommended to upgrade to this version or later. The fix includes additional validation to prevent the integer overflow condition (GitHub Pull).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."