Vulnerability · Published Oct 14, 2023 · Assigned by mitre
CVE-2023-45853
High 8.8
In plain English
A high-severity integer overflow in the minizip package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | minizip | 1.3-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.21 | minizip | 1.3-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.22 | minizip | 1.3-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.23 | minizip | 1.3-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.24 | minizip | 1.3-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.20 | qt5-qtwebengine | 5.15.15-r4 | ALPINE-CVE-2023-45853 |
| Alpine:v3.21 | qt5-qtwebengine | 5.15.15-r4 | ALPINE-CVE-2023-45853 |
| Alpine:v3.22 | qt5-qtwebengine | 5.15.15-r4 | ALPINE-CVE-2023-45853 |
| Alpine:v3.23 | qt5-qtwebengine | 5.15.15-r4 | ALPINE-CVE-2023-45853 |
| Alpine:v3.20 | qt6-qtwebengine | 6.6.0-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.21 | qt6-qtwebengine | 6.6.0-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.22 | qt6-qtwebengine | 6.6.0-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.23 | qt6-qtwebengine | 6.6.0-r1 | ALPINE-CVE-2023-45853 |
| Alpine:v3.24 | qt6-qtwebengine | 6.6.0-r1 | ALPINE-CVE-2023-45853 |
| Debian:12 | minizip | 1.1-8+deb12u1 | DEBIAN-CVE-2023-45853 |
| Debian:12 | zlib | no fix listed | DEBIAN-CVE-2023-45853 |
| Debian:13 | zlib | 1:1.3.dfsg-2 | DEBIAN-CVE-2023-45853 |
| Debian:14 | zlib | 1:1.3.dfsg-2 | DEBIAN-CVE-2023-45853 |
| PyPI | pyminizip | no fix listed | PYSEC-2026-501 |
| PyPI | pyminizip | no fix listed | GHSA-mq29-j5xf-cjwr |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/madler/zlib/pull/843
- https://www.winimage.com/zLibDll/minizip.html
- https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4
- https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61
- https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356
- [oss-security] 20231020 CVE-2023-45853: overflows in MiniZip in zlib through 1.3 mailing-list
- [debian-lts-announce] 20231127 [SECURITY] [DLA 3670-1] minizip security update mailing-list
- https://security.netapp.com/advisory/ntap-20231130-0009/
- https://pypi.org/project/pyminizip/#history
- GLSA-202401-18 vendor-advisory
- [oss-security] 20240124 Re: CVE-2023-45853: overflows in MiniZip in zlib through 1.3 mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html