ADVISORIES

Red Hat VEX

RHVEX-CVE-2023-45853

zlib: integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_6

Moderate No fix available CVE-2023-45853

Details

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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6minizip
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6minizip-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6zlib
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6zlib-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6zlib-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7minizip
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7minizip-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7zlib
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7zlib-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7zlib-static
All versions, no fix (out of support scope)

References