Bug 1973826 (CVE-2020-18442) - CVE-2020-18442 zziplib: infinite loop via the return value of zzip_file_read() as used in unzzip_cat_file()
Summary: CVE-2020-18442 zziplib: infinite loop via the return value of zzip_file_read(...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-18442
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1973831 1976339 1977964
Blocks: 1973827
TreeView+ depends on / blocked
 
Reported: 2021-06-18 19:39 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-09 22:51 UTC (History)
2 users (show)

Fixed In Version: zziplib 0.13.72
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 22:51:33 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4316 0 None None None 2021-11-09 18:12:20 UTC

Description Guilherme de Almeida Suckevicz 2021-06-18 19:39:46 UTC
Infinite Loop in zziplib v0.13.69 allows remote attackers to cause a denial of service via the return value "zzip_file_read" in the function "unzzip_cat_file".

Reference:
https://github.com/gdraheim/zziplib/issues/68

Comment 1 Guilherme de Almeida Suckevicz 2021-06-18 19:42:43 UTC
Created zziplib tracking bugs for this issue:

Affects: fedora-all [bug 1973831]

Comment 4 devthomp 2021-06-30 19:52:45 UTC
The fix for this issue is upstream here:
https://github.com/gdraheim/zziplib/commit/ac9ae39ef419e9f0f83da1e583314d8c7cda34a6

Comment 6 devthomp 2021-07-01 13:32:59 UTC
Zziplib is susceptible to infinite loop (loop with unreachable exit condition) when processing malformed zip files.The behavior of this condition could cause terminal unresponsiveness when running the command line. When using the library this could lead to application unresponsiveness.High CPU on said application/binary is also a possibility of this issue.

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

  Red Hat Enterprise Linux 8

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

Comment 8 Product Security DevOps Team 2021-11-09 22:51:31 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-2020-18442


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