
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-37619 affects Exiv2, a command-line utility and C++ library for reading, writing, deleting, and modifying image file metadata, in versions v0.27.4 and earlier. The vulnerability was discovered and disclosed in August 2021, with a fix released in version v0.27.5 (GitHub Advisory).
The vulnerability is an out-of-bounds read in the Exiv2::Jp2Image::encodeJp2Header function. The issue stems from an incorrect loop condition where bWroteColor becomes true and can never revert back to false, potentially leading to an infinite loop that can only terminate by throwing an exception or crashing (GitHub PR). The vulnerability has been assigned a CVSS v3.1 base score of 4.7 MEDIUM (Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H) (NVD).
The vulnerability can be exploited to cause a denial of service by crashing Exiv2 if an attacker can trick the victim into running Exiv2 on a crafted image file. The bug is only triggered when writing metadata, which is a less frequently used operation than reading metadata (GitHub Advisory).
The vulnerability has been fixed in Exiv2 version v0.27.5. Users should upgrade to this version or later to mitigate the issue. The fix involves correcting the loop condition in the Jp2Image::encodeJp2Header function (GitHub PR).
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."