First published: Tue Aug 10 2021(Updated: )
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 write metadata into a crafted image file. 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. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5. Reference: <a href="https://github.com/Exiv2/exiv2/security/advisories/GHSA-mxw9-qx4c-6m8v">https://github.com/Exiv2/exiv2/security/advisories/GHSA-mxw9-qx4c-6m8v</a> Upstream patch: <a href="https://github.com/Exiv2/exiv2/pull/1752">https://github.com/Exiv2/exiv2/pull/1752</a>
Affected Software | Affected Version | How to fix |
---|---|---|
CentOS Dos2unix | <=0.27.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-1992174 is considered moderate due to the potential for information leakage.
To fix REDHAT-BUG-1992174, update Exiv2 to version 0.27.5 or later, which resolves the out-of-bounds read issue.
Exiv2 versions up to and including 0.27.4 are affected by REDHAT-BUG-1992174.
Exploiting REDHAT-BUG-1992174 does not directly lead to remote code execution but can result in information disclosure.
REDHAT-BUG-1992174 is classified as an out-of-bounds read vulnerability.