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(...
Alias: CVE-2020-18442
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1973831 1976339 1977964
Blocks: 1973827
TreeView+ depends on / blocked
Reported: 2021-06-18 19:39 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-04-17 21:27 UTC (History)
2 users (show)

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

Attachments (Terms of Use)

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".


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:

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):


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