CVE-2023-45853
CRITICAL9.8EPSS 1.4%pyminizip affected by zlib's integer overflow/heap based buffer overflow vulnerability due to vulnerable dependency
Published: 10/14/2023Modified: 12/3/2025
Also known as:ALPINE-CVE-2023-45853
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.
Affected packages (5)
- Alpine/zlibfrom 0, < 0
- Debian/minizipfrom 0, < 1.1-8+deb11u1
- Debian/minizipfrom 0, < 1.1-8+deb10u1
- Debian/zlibfrom 0
- PyPI/pyminizipfrom 0, <= 0.2.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (17)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-45853
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2023-45853
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-45853
- PATCHhttps://github.com/smihica/pyminizip
- WEBhttps://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356
- WEBhttps://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61
- WEBhttps://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4
- WEBhttps://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c
- WEBhttps://github.com/madler/zlib/pull/843
- WEBhttps://github.com/smihica/pyminizip/blob/master/zlib-1.2.11/contrib/minizip/zip.c
- WEBhttps://lists.debian.org/debian-lts-announce/2023/11/msg00026.html
- WEBhttps://pypi.org/project/pyminizip/#history
- WEBhttps://security.gentoo.org/glsa/202401-18
- WEBhttps://security.netapp.com/advisory/ntap-20231130-0009
- WEBhttps://www.winimage.com/zLibDll/minizip.html
- WEBhttp://www.openwall.com/lists/oss-security/2023/10/20/9
- WEBhttp://www.openwall.com/lists/oss-security/2024/01/24/10