Integer overflow in Smihica Pyminizip
CVE-2023-45853
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.034, 89.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 60 other repositories (0xfarben/ortho-secure, 11notes/docker-paperless-ngx, 13m0n4de/neko-quiz, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/madler/zlib/pull/843 (Patch, Issue Tracking)
- www.winimage.com/zLibDll/minizip.html (Product)
- github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/RE… (Product)
- chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b… (Patch, Mailing List)
- chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c5488133… (Patch, Mailing List)
- [oss-security] 20231020 CVE-2023-45853: overflows in MiniZip in zlib through 1.3 (mailing-list, Mailing List)
- [debian-lts-announce] 20231127 [SECURITY] [DLA 3670-1] minizip security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20231130-0009/ (Third Party Advisory)
- pypi.org/project/pyminizip/ (Release Notes)
- GLSA-202401-18 (vendor-advisory, Third Party Advisory)