CVE-2023-45853
zlib: integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_6
Overview
Description
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. NOTE: pyminizip through 0.2.6 is also vulnerable because it bundles an affected zlib version, and exposes the applicable MiniZip code through its compress API.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-190
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | GCCBootstrap_jll | >=0 | No fix yet |
| Julia | Openresty_jll | <1.27.1+0 | 1.27.1+0 |
| Julia | Zlib_jll | <1.3.1+0 | 1.3.1+0 |
| PyPI | pyminizip | <=0.2.6 | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems · 61 fixes
Azure Linux 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | blosc | 0:1.21.6-1.azl3 |
| 3.0 | zlib | 0:1.3.1-1.azl3 |
| 3.0 | rust | 0:1.85.0-1.azl3 |
| 3.0 | rubygem-mini-portile2 | 0:2.8.0-1.azl3 |
| 3.0 | keras | 0:3.1.1-1.azl3 |
| 3.0 | cloud-hypervisor | 0:32.0-2.azl3 |
2 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | zlib +1 | 1.2.11-6.ph4 |
| 5.0 | zlib +1 | 1.2.13-2.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | minizip +4 | eol |
SUSE Linux Enterprise 4 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libz1 +4 | 1.2.11-11.37.1 | SUSE-SU-2023:4216-1 |
| 15.4 | libminizip1 +6 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
| 15.5 | libminizip1 +6 | 1.2.13-150500.4.3.1 | SUSE-SU-2023:4215-1 |
| 16.0 | libminizip1 +6 | 1.2.13-160000.3.1 | SUSE-SU-2026:21151-1 |
SUSE Linux Enterprise Micro 8 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libz1 +1 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
| 5.2 | libz1 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
| 5.3 | libz1 +1 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
| 5.4 | libz1 +1 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
| 5.5 | libz1 +1 | 1.2.13-150500.4.3.1 | SUSE-SU-2023:4215-1 |
| 6.0 | libz1 +1 | 1.2.13-7.1 | SUSE-SU-2026:20709-1 |
2 more rows
alpine 4 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | zlib | not affected |
| 3.22 | minizip | 1.3-r1 |
| 3.22 | qt5-qtwebengine | 5.15.15-r4 |
| 3.22 | qt6-qtwebengine | 6.6.0-r1 |
| 3.23 | zlib | not affected |
| 3.23 | minizip | 1.3-r1 |
8 more rows
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | minizip-compat +7 | 1.2.11-33.amzn2023.0.5 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| zlib | 1.3-r1 |
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | zlib | affected |
| 10 | minizip | 1.1-8+deb10u1 |
| 11 | zlib | affected |
| 11 | minizip | 1.1-8+deb11u1 |
| 12 | zlib | affected |
| 12 | minizip | 1.1-8+deb12u1 |
2 more rows
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| minizip | 1.1-8+deb12u1 | |
| zlib-1-1-4 | 1.1.4+e1 | |
| zlib-1-2-11 | 1.2.11+e1 | |
| zlib | 1:1.2.13.dfsg-1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | grype +3 | 0.88.0-1.1 | openSUSE-SU-2025:14857-1 |
| Tumbleweed | libminizip1 +11 | 1.3-1.1 | openSUSE-SU-2024:13363-1 |
| Tumbleweed | libqt5-qtpdf-devel +9 | 5.15.16-1.1 | openSUSE-SU-2024:13462-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libminizip1 +7 | 1.2.13-160000.3.1 | openSUSE-SU-2026:20487-1 |
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libz1 +1 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
| 5.4 | libz1 +1 | 1.2.11-150000.3.48.1 | SUSE-SU-2023:4217-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-zlib +1 | 1:1.2.11.dfsg-2+deb11u2.root.io.1 |
| 12 | rootio-zlib +1 | 1:1.2.13.dfsg-1.root.io.1 |
| 13 | rootio-zlib | 1:1.3.dfsg-2 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| zlib | 1.3-r1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/10/20/9
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/01/24/10
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-45853
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-470355.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- chromium.googlesource.com https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356
- chromium.googlesource.com https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61
- github.com https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4
- github.com https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c
Show all 24 references
- github.com https://github.com/madler/zlib/pull/843
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pyminizip/PYSEC-2026-501.yaml
- github.com https://github.com/smihica/pyminizip
- github.com https://github.com/smihica/pyminizip/blob/master/zlib-1.2.11/contrib/minizip/zip.c
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-45853
- pypi.org https://pypi.org/project/pyminizip
- pypi.org https://pypi.org/project/pyminizip/#history
- security.gentoo.org https://security.gentoo.org/glsa/202401-18
- security.netapp.com https://security.netapp.com/advisory/ntap-20231130-0009
- security.netapp.com https://security.netapp.com/advisory/ntap-20231130-0009/
- ubuntu.com https://ubuntu.com/security/notices/USN-7107-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-45853
- www.winimage.com https://www.winimage.com/zLibDll/minizip.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.