Bug 1161901 - (CVE-2019-20421) VUL-0: CVE-2019-20421: exiv2: an input file can result in an infinite loop, in Jp2Image:readMetadata(), and hang, with high CPU consumption
(CVE-2019-20421)
VUL-0: CVE-2019-20421: exiv2: an input file can result in an infinite loop, i...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/251874/
CVSSv3.1:SUSE:CVE-2019-20421:6.5:(AV...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-27 12:30 UTC by Wolfgang Frisch
Modified: 2022-10-28 17:30 UTC (History)
5 users (show)

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


Attachments
CVE-2019-20421-Jp2Image_readMetadata_loop.poc (738 bytes, application/octet-stream)
2020-01-27 12:44 UTC, Wolfgang Frisch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Frisch 2020-01-27 12:30:58 UTC
CVE-2019-20421

In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can
result in an infinite loop and hang, with high CPU consumption. Remote attackers
could leverage this vulnerability to cause a denial of service via a crafted
file.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-20421
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20421
https://github.com/Exiv2/exiv2/issues/1011
https://github.com/Exiv2/exiv2/commit/a82098f4f90cd86297131b5663c3dec6a34470e8
Comment 1 Wolfgang Frisch 2020-01-27 12:44:28 UTC
Created attachment 828338 [details]
CVE-2019-20421-Jp2Image_readMetadata_loop.poc

QA REPRODUCER:

exiv2 CVE-2019-20421-Jp2Image_readMetadata_loop.poc

# The bug will cause exiv2 to hang with 100% CPU load.
Comment 6 Swamp Workflow Management 2020-04-03 10:24:09 UTC
SUSE-SU-2020:0860-1: An update that fixes 6 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1040973,1110282,1142678,1142683,1153577,1161901
CVE References: CVE-2017-9239,CVE-2018-17581,CVE-2019-13110,CVE-2019-13113,CVE-2019-17402,CVE-2019-20421
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    exiv2-0.23-12.8.1
SUSE Linux Enterprise Software Development Kit 12-SP4 (src):    exiv2-0.23-12.8.1
SUSE Linux Enterprise Server 12-SP5 (src):    exiv2-0.23-12.8.1
SUSE Linux Enterprise Server 12-SP4 (src):    exiv2-0.23-12.8.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.
Comment 8 Hu 2022-08-29 15:05:07 UTC
ping, any updates here?
Comment 9 Dirk Mueller 2022-09-27 21:35:23 UTC
Submitted to SLE15.