Bug 1990330 (CVE-2021-31292) - CVE-2021-31292 exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS
Summary: CVE-2021-31292 exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-31292
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1989860 1990331 1990332 1990385 1990399
Blocks: 1990333
TreeView+ depends on / blocked
 
Reported: 2021-08-05 08:32 UTC by Marian Rehak
Modified: 2021-11-10 01:22 UTC (History)
4 users (show)

Fixed In Version: exiv2 0.27.4
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in exiv2. A integer wraparound in the CrwMap:encode0x1810 function leads to memcpy call with a very large size allowing an attacker, who can provide a malicious image, to crash an application which uses the exiv2 library. The highest threat from this vulnerability is to service availability.
Clone Of:
Environment:
Last Closed: 2021-11-10 01:22:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4173 0 None None None 2021-11-09 17:34:42 UTC
Red Hat Product Errata RHSA-2021:4319 0 None None None 2021-11-09 18:13:05 UTC

Description Marian Rehak 2021-08-05 08:32:22 UTC
An integer overflow in CrwMap::encode0x1810 of Exiv2 0.27.3 allows attackers to trigger a heap-based buffer overflow and cause a denial of service (DOS) via crafted metadata.

Upstream Issue:

https://github.com/Exiv2/exiv2/issues/1530

Comment 1 Marian Rehak 2021-08-05 08:32:40 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1990331]


Created mingw-exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1990332]

Comment 2 Riccardo Schirone 2021-08-05 10:14:45 UTC
Upstream patch:
https://github.com/Exiv2/exiv2/commit/9b7a19f957af53304655ed1efe32253a1b11a8d0

Comment 6 errata-xmlrpc 2021-11-09 17:34:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 7 errata-xmlrpc 2021-11-09 18:13:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4319 https://access.redhat.com/errata/RHSA-2021:4319

Comment 8 Product Security DevOps Team 2021-11-10 01:22:47 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-31292


Note You need to log in before you can comment on or make changes to this bug.