Advisory

RLSA-2021:4173

Also known as: CVE-2021-29457, CVE-2021-29458, CVE-2021-29463, CVE-2021-29464, CVE-2021-29470, CVE-2021-29473, CVE-2021-29623, CVE-2021-31292, CVE-2021-32617, CVE-2021-3482, CVE-2021-37618, CVE-2021-37619

Summary

Moderate: exiv2 security, bug fix, and enhancement update

Details

Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.

The following packages have been upgraded to a later upstream version: exiv2 (0.27.4). (BZ#1989860)

Security Fix(es):

  • exiv2: Heap-based buffer overflow in Jp2Image::readMetadata() (CVE-2021-3482)
  • exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::doWriteMetadata (CVE-2021-29457)
  • exiv2: Out-of-bounds read in Exiv2::Internal::CrwMap::encode (CVE-2021-29458)
  • exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-29464)
  • exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-29470)
  • exiv2: Out-of-bounds read in Exiv2::Jp2Image::doWriteMetadata (CVE-2021-29473)
  • exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS (CVE-2021-31292)
  • exiv2: Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata (CVE-2021-29463)
  • exiv2: Use of uninitialized memory in isWebPType() may lead to information leak (CVE-2021-29623)
  • exiv2: DoS due to quadratic complexity in ProcessUTF8Portion (CVE-2021-32617)
  • exiv2: Out-of-bounds read in Exiv2::Jp2Image::printStructure (CVE-2021-37618)
  • exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-37619)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2021-11-09 08:31 UTC
Modified
2026-02-04 23:30 UTC

Affected packages and fixes

exiv2

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:0.27.4-5.el8 (ecosystem)

Fixed versions

0:0.27.4-5.el8

Fix

  • Fixed version 0:0.27.4-5.el8
    sudo dnf upgrade exiv2-0:0.27.4-5.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences