Bug 2244556 (CVE-2023-45853) - CVE-2023-45853 zlib: integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_6
Summary: CVE-2023-45853 zlib: integer overflow and resultant heap-based buffer overflo...
Status: NEW
Alias: CVE-2023-45853
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Product Security
QA Contact:
Depends On: 2244558 2244559 2244557
Blocks: 2244555
TreeView+ depends on / blocked
Reported: 2023-10-16 23:28 UTC by Marco Benatto
Modified: 2023-12-07 13:55 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the MiniZip component of the zlib package. When opening a new file, MiniZip doesn't properly validate the filename, comments, or extra fields length against the data type used to store this information. This may allow an attacker to craft a malicious ZIP file that will lead to an overflow on the length field. This value is further used in memory allocations and indexing, which can cause an out-of-bounds write, leading to heap corruption and possible arbitrary code execution.
Clone Of:
Last Closed:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7626 0 None None None 2023-12-07 13:55:48 UTC

Description Marco Benatto 2023-10-16 23:28:22 UTC
MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product.


Comment 1 Marco Benatto 2023-10-16 23:29:16 UTC
Created mingw-zlib tracking bugs for this issue:

Affects: fedora-all [bug 2244558]

Created zlib tracking bugs for this issue:

Affects: fedora-all [bug 2244557]

Comment 2 Marco Benatto 2023-10-16 23:30:28 UTC
Created BackupPC-XS tracking bugs for this issue:

Affects: epel-all [bug 2244559]

Comment 7 Marco Benatto 2023-10-26 14:54:28 UTC
Upstream commit for this issue:

Comment 12 errata-xmlrpc 2023-12-07 13:55:47 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2023:7626 https://access.redhat.com/errata/RHSA-2023:7626

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