Operating System:

[RedHat]

Published:

10 November 2021

Protect yourself against future threats.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.3816
              exiv2 security, bug fix, and enhancement update
                             10 November 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           exiv2
Publisher:         Red Hat
Operating System:  Red Hat
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account      
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-37619 CVE-2021-37618 CVE-2021-32617
                   CVE-2021-31292 CVE-2021-29623 CVE-2021-29473
                   CVE-2021-29470 CVE-2021-29464 CVE-2021-29463
                   CVE-2021-29458 CVE-2021-29457 CVE-2021-3482

Reference:         ESB-2021.2922
                   ESB-2021.2799
                   ESB-2021.2760
                   ESB-2021.1806
                   ESB-2021.1577

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2021:4173

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

Synopsis:          Moderate: exiv2 security, bug fix, and enhancement update
Advisory ID:       RHSA-2021:4173-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2021:4173
Issue date:        2021-11-09
CVE Names:         CVE-2021-3482 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-37618 CVE-2021-37619 
=====================================================================

1. Summary:

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

Red Hat Product Security has rated this update as having a security impact
of Moderate. 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 AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux CRB (v. 8) - aarch64, noarch, ppc64le, s390x, 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.

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 Red Hat
Enterprise Linux 8.5 Release Notes linked from 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/):

1946314 - CVE-2021-3482 exiv2: Heap-based buffer overflow in Jp2Image::readMetadata()
1952607 - CVE-2021-29458 exiv2: Out-of-bounds read in Exiv2::Internal::CrwMap::encode
1952612 - CVE-2021-29457 exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::doWriteMetadata
1953708 - CVE-2021-29470 exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header
1954065 - CVE-2021-29473 exiv2: Out-of-bounds read in Exiv2::Jp2Image::doWriteMetadata
1961650 - CVE-2021-29623 exiv2: Use of uninitialized memory in isWebPType() may lead to information leak
1961691 - CVE-2021-32617 exiv2: DoS due to quadratic complexity in ProcessUTF8Portion
1978100 - CVE-2021-29463 exiv2: Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata
1978105 - CVE-2021-29464 exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header
1989860 - Rebase Exiv2 to 0.27.4
1990330 - CVE-2021-31292 exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS
1992165 - CVE-2021-37618 exiv2: Out-of-bounds read in Exiv2::Jp2Image::printStructure
1992174 - CVE-2021-37619 exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

Source:
exiv2-0.27.4-5.el8.src.rpm

aarch64:
exiv2-0.27.4-5.el8.aarch64.rpm
exiv2-debuginfo-0.27.4-5.el8.aarch64.rpm
exiv2-debugsource-0.27.4-5.el8.aarch64.rpm
exiv2-libs-0.27.4-5.el8.aarch64.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.aarch64.rpm

ppc64le:
exiv2-0.27.4-5.el8.ppc64le.rpm
exiv2-debuginfo-0.27.4-5.el8.ppc64le.rpm
exiv2-debugsource-0.27.4-5.el8.ppc64le.rpm
exiv2-libs-0.27.4-5.el8.ppc64le.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.ppc64le.rpm

s390x:
exiv2-0.27.4-5.el8.s390x.rpm
exiv2-debuginfo-0.27.4-5.el8.s390x.rpm
exiv2-debugsource-0.27.4-5.el8.s390x.rpm
exiv2-libs-0.27.4-5.el8.s390x.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.s390x.rpm

x86_64:
exiv2-0.27.4-5.el8.x86_64.rpm
exiv2-debuginfo-0.27.4-5.el8.i686.rpm
exiv2-debuginfo-0.27.4-5.el8.x86_64.rpm
exiv2-debugsource-0.27.4-5.el8.i686.rpm
exiv2-debugsource-0.27.4-5.el8.x86_64.rpm
exiv2-libs-0.27.4-5.el8.i686.rpm
exiv2-libs-0.27.4-5.el8.x86_64.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.i686.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.x86_64.rpm

Red Hat Enterprise Linux CRB (v. 8):

aarch64:
exiv2-debuginfo-0.27.4-5.el8.aarch64.rpm
exiv2-debugsource-0.27.4-5.el8.aarch64.rpm
exiv2-devel-0.27.4-5.el8.aarch64.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.aarch64.rpm

noarch:
exiv2-doc-0.27.4-5.el8.noarch.rpm

ppc64le:
exiv2-debuginfo-0.27.4-5.el8.ppc64le.rpm
exiv2-debugsource-0.27.4-5.el8.ppc64le.rpm
exiv2-devel-0.27.4-5.el8.ppc64le.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.ppc64le.rpm

s390x:
exiv2-debuginfo-0.27.4-5.el8.s390x.rpm
exiv2-debugsource-0.27.4-5.el8.s390x.rpm
exiv2-devel-0.27.4-5.el8.s390x.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.s390x.rpm

x86_64:
exiv2-debuginfo-0.27.4-5.el8.i686.rpm
exiv2-debuginfo-0.27.4-5.el8.x86_64.rpm
exiv2-debugsource-0.27.4-5.el8.i686.rpm
exiv2-debugsource-0.27.4-5.el8.x86_64.rpm
exiv2-devel-0.27.4-5.el8.i686.rpm
exiv2-devel-0.27.4-5.el8.x86_64.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.i686.rpm
exiv2-libs-debuginfo-0.27.4-5.el8.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-3482
https://access.redhat.com/security/cve/CVE-2021-29457
https://access.redhat.com/security/cve/CVE-2021-29458
https://access.redhat.com/security/cve/CVE-2021-29463
https://access.redhat.com/security/cve/CVE-2021-29464
https://access.redhat.com/security/cve/CVE-2021-29470
https://access.redhat.com/security/cve/CVE-2021-29473
https://access.redhat.com/security/cve/CVE-2021-29623
https://access.redhat.com/security/cve/CVE-2021-31292
https://access.redhat.com/security/cve/CVE-2021-32617
https://access.redhat.com/security/cve/CVE-2021-37618
https://access.redhat.com/security/cve/CVE-2021-37619
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes/

8. Contact:

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

Copyright 2021 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYYreadzjgjWX9erEAQiEPRAAjy4hmAJiF987k1SCYM2cH65F7yMmjyDq
RCUujhiRQTxHh80B2jtiVkSmEGijDtuurruxSTBHAcG43ZJFzOHJqIaddN57kK8E
yhDvmXAMda5wL+l5k2En5pt2jD/5+gImp8jxL16gbYZsWW5+fOeZMkMkAhHFGVZy
ihuhzAgJ7ubuyPFXHxB2ncL4C82S3JWyJw5KdJREhFlzep4Dmj212rDblqwlEZ2O
YjJaEbTC1bG7snQDTCc4NZHQMsiTtLP2BZ9EBgbgxy6ogIOHmJdfD48u0nv2iL2M
Y+KCm3aHhcnug9WC1CcgQQJJMhvxfVKSvIVpF7Nu+OqjwUBbOEigH0TaJyqnDRtF
q34hlGtM2JmMJku9MiPdOEEU0rEANU1ICu6gynzzLTn6s50BqzBkynUyBqDxZ0Ca
33a+enHzSoSI97q6Ew4JDfiToDEu0U72WjCW29t02Gaofdwcq2Mb99/AHFwCmgQv
bgwQmrsrxa+xj/8OmYGiHiM8+8nE7qruHsYgjlgNC4W2q8vZOczuW4AgdcamoEB0
WrcIeBOzVfxt3im10O6IOs1Onvcpwmyu6PvJL/HGqbLVeVy2cKpWMWKjTkwgomRp
NS1u2hY4n7YeY85JPITlMn5p3vjKWtt7HhECOa+Wh9/l+b4uaq5Q6fN67l/k0ZXM
kDQjc+bGQBk=
=E+PN
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYYthruNLKJtyKPYoAQi5Zg//byL+jL5mlnxVvWd2FRVVoVjzFRye5BDu
uVBi1qg2knhY0LhZHUuhXvlZQoUZANlBZQl74JfH/Nb0VUxKw4cyyjytWxE2n1dM
UfsJe0NnMcgiagWa1YfwYHthx6LV1TcvNWL9HSFKVv0w9SZgquRCsSLPiHoiOUTB
T87eBnXNLpoUkJT6ap1TSt/dmsr2VGdEk21qcRJT6VQQdzTkdN+6CsFMql+mn1qZ
4lwiKQH55GyTXBCRiB5c1qGAvAt73zuvBVEseAdYzWtHcX64Zg8Gabz/cJQKie0w
hoIgEtHHjkhth42dHULOvnRbDGuwuYKw7Tzz/zaXhcw6dkkRiaAkq8qJmSwrx3/I
W1cveqgu3o1zp9f/7UUIF8H8g18h5Rw2M6Rja8+PV3M9ImJlWyofRNp8MsHlQO3G
WbL3/ZOBZlL1YbmxAC076j2G7m/rH2/MIAcm9eSkT8fMsi6jV3wEtQG2mkw/6sbd
vX6P4RiGEKstOYNAiz9gjnPbOSF3u6WoVqimfwF8XIyFxj5QHJ/xSylYyJEdEp/B
Ogr+p5/lIR+y1sVBC0HdwAUn3n8b+Ac22RMnve6w73v3fTIN843O90FVwNNbOr13
nxzgGywMoPk11uEq4btNj+ITpe5Ewk4VUkwOQj5+UYfOdcd5IVpV1RwJ2OJuk/Wi
a4tHcdI5bUs=
=UwDg
-----END PGP SIGNATURE-----