QID 671050

Date Published: 2021-11-29

QID 671050: EulerOS Security Update for exiv2 (EulerOS-SA-2021-2579)

A command line utility to access image metadata, allowing one to: security fix(es): exiv2 is a c++ library and a command-line utility to read, write, delete and modify exif, iptc, xmp and icc image metadata.
An out-of-bounds read was found in exiv2 versions v0.27.3 and earlier.
Exiv2 is a command-line utility and c++ library for reading, writing, deleting, and modifying the metadata of image files.
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.4.
Please see our security policy for information about exiv2 security.(cve-2021-29473) exiv2 is a command-line utility and c++ library for reading, writing, deleting, and modifying the metadata of image files.
An inefficient algorithm (quadratic complexity) was found in exiv2 versions v0.27.3 and earlier.
The inefficient algorithm 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, 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.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

An arbitrary attacker may exploit this vulnerability to compromise the system.

  • CVSS V3 rated as Critical - 8.1 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    The Vendor has released a security update to fix the vulnerability. For more information please visit EulerOS-SA-2021-2579 for updates and patch information
    Software Advisories
    Advisory ID Software Component Link
    EulerOS-SA-2021-2579 EulerOS V2.0SP3 URL Logo developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2021-2579