Red Hat 9042 Published by

An exiv2 security update has been released for Red Hat Enterprise Linux 7.



RHSA-2021:3158-01: Important: exiv2 security update



=====================================================================
Red Hat Security Advisory

Synopsis: Important: exiv2 security update
Advisory ID: RHSA-2021:3158-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2021:3158
Issue date: 2021-08-16
CVE Names: CVE-2021-31291
=====================================================================

1. Summary:

An update for exiv2 is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch, x86_64

3. Description:

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.

Security Fix(es):

* exiv2: Heap-based buffer overflow vulnerability in jp2image.cpp
(CVE-2021-31291)

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.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

5. Bugs fixed (  https://bugzilla.redhat.com/):

1990327 - CVE-2021-31291 exiv2: Heap-based buffer overflow vulnerability in jp2image.cpp

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
exiv2-0.27.0-4.el7_8.src.rpm

x86_64:
exiv2-0.27.0-4.el7_8.x86_64.rpm
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-libs-0.27.0-4.el7_8.i686.rpm
exiv2-libs-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

noarch:
exiv2-doc-0.27.0-4.el7_8.noarch.rpm

x86_64:
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-devel-0.27.0-4.el7_8.i686.rpm
exiv2-devel-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
exiv2-0.27.0-4.el7_8.src.rpm

x86_64:
exiv2-0.27.0-4.el7_8.x86_64.rpm
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-libs-0.27.0-4.el7_8.i686.rpm
exiv2-libs-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

noarch:
exiv2-doc-0.27.0-4.el7_8.noarch.rpm

x86_64:
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-devel-0.27.0-4.el7_8.i686.rpm
exiv2-devel-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
exiv2-0.27.0-4.el7_8.src.rpm

ppc64:
exiv2-0.27.0-4.el7_8.ppc64.rpm
exiv2-debuginfo-0.27.0-4.el7_8.ppc.rpm
exiv2-debuginfo-0.27.0-4.el7_8.ppc64.rpm
exiv2-libs-0.27.0-4.el7_8.ppc.rpm
exiv2-libs-0.27.0-4.el7_8.ppc64.rpm

ppc64le:
exiv2-0.27.0-4.el7_8.ppc64le.rpm
exiv2-debuginfo-0.27.0-4.el7_8.ppc64le.rpm
exiv2-libs-0.27.0-4.el7_8.ppc64le.rpm

s390x:
exiv2-0.27.0-4.el7_8.s390x.rpm
exiv2-debuginfo-0.27.0-4.el7_8.s390.rpm
exiv2-debuginfo-0.27.0-4.el7_8.s390x.rpm
exiv2-libs-0.27.0-4.el7_8.s390.rpm
exiv2-libs-0.27.0-4.el7_8.s390x.rpm

x86_64:
exiv2-0.27.0-4.el7_8.x86_64.rpm
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-libs-0.27.0-4.el7_8.i686.rpm
exiv2-libs-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

noarch:
exiv2-doc-0.27.0-4.el7_8.noarch.rpm

ppc64:
exiv2-debuginfo-0.27.0-4.el7_8.ppc.rpm
exiv2-debuginfo-0.27.0-4.el7_8.ppc64.rpm
exiv2-devel-0.27.0-4.el7_8.ppc.rpm
exiv2-devel-0.27.0-4.el7_8.ppc64.rpm

ppc64le:
exiv2-debuginfo-0.27.0-4.el7_8.ppc64le.rpm
exiv2-devel-0.27.0-4.el7_8.ppc64le.rpm

s390x:
exiv2-debuginfo-0.27.0-4.el7_8.s390.rpm
exiv2-debuginfo-0.27.0-4.el7_8.s390x.rpm
exiv2-devel-0.27.0-4.el7_8.s390.rpm
exiv2-devel-0.27.0-4.el7_8.s390x.rpm

x86_64:
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-devel-0.27.0-4.el7_8.i686.rpm
exiv2-devel-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
exiv2-0.27.0-4.el7_8.src.rpm

x86_64:
exiv2-0.27.0-4.el7_8.x86_64.rpm
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-libs-0.27.0-4.el7_8.i686.rpm
exiv2-libs-0.27.0-4.el7_8.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

noarch:
exiv2-doc-0.27.0-4.el7_8.noarch.rpm

x86_64:
exiv2-debuginfo-0.27.0-4.el7_8.i686.rpm
exiv2-debuginfo-0.27.0-4.el7_8.x86_64.rpm
exiv2-devel-0.27.0-4.el7_8.i686.rpm
exiv2-devel-0.27.0-4.el7_8.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2021-31291
  https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2021 Red Hat, Inc.