Bug 1189331 (CVE-2021-37619) - VUL-1: CVE-2021-37619: exiv2: exiv2: out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header
Summary: VUL-1: CVE-2021-37619: exiv2: exiv2: out-of-bounds read in Exiv2:Jp2Image:enc...
Status: RESOLVED FIXED
Alias: CVE-2021-37619
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Minor
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/306094/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-37619:3.1:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-11 14:49 UTC by Gabriele Sonnu
Modified: 2024-05-16 14:46 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Sonnu 2021-08-11 14:49:50 UTC
rh#1992174

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:
https://github.com/Exiv2/exiv2/security/advisories/GHSA-mxw9-qx4c-6m8v

Upstream patch:
https://github.com/Exiv2/exiv2/pull/1752

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1992174
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-37619
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37619
https://github.com/Exiv2/exiv2/pull/1752
https://github.com/Exiv2/exiv2/security/advisories/GHSA-mxw9-qx4c-6m8v
Comment 1 Gabriele Sonnu 2021-08-11 14:51:11 UTC
Affected Packages:
- SUSE:SLE-15:Update/exiv2  0.26
- openSUSE:Factory/exiv2    0.27.4
Comment 8 Swamp Workflow Management 2022-10-17 16:34:27 UTC
SUSE-SU-2022:3598-1: An update that fixes 15 vulnerabilities is now available.

Category: security (important)
Bug References: 1076579,1086798,1086810,1092096,1114690,1185447,1186192,1188733,1188756,1189330,1189331,1189332,1189333,1189636,1189780
CVE References: CVE-2018-10772,CVE-2018-18915,CVE-2018-5772,CVE-2018-8976,CVE-2018-8977,CVE-2020-18898,CVE-2020-18899,CVE-2021-29470,CVE-2021-31291,CVE-2021-31292,CVE-2021-32617,CVE-2021-37618,CVE-2021-37619,CVE-2021-37620,CVE-2021-37621
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    exiv2-0.26-150000.6.16.1
openSUSE Leap 15.3 (src):    exiv2-0.26-150000.6.16.1
SUSE Manager Server 4.1 (src):    exiv2-0.26-150000.6.16.1
SUSE Manager Retail Branch Server 4.1 (src):    exiv2-0.26-150000.6.16.1
SUSE Manager Proxy 4.1 (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server for SAP 15-SP2 (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server for SAP 15 (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server 15-SP2-LTSS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server 15-SP2-BCL (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Server 15-LTSS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Module for Desktop Applications 15-SP4 (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise Module for Desktop Applications 15-SP3 (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    exiv2-0.26-150000.6.16.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    exiv2-0.26-150000.6.16.1
SUSE Enterprise Storage 7 (src):    exiv2-0.26-150000.6.16.1
SUSE Enterprise Storage 6 (src):    exiv2-0.26-150000.6.16.1
SUSE CaaS Platform 4.0 (src):    exiv2-0.26-150000.6.16.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.