CVE-2023-45853CWE-190

CVE-2023-45853

Critical · published October 14, 2023

CVSS v3.1
9.8
EPSS
3%
Percentile
88.9
In the wild
Unconfirmed
What it is

⚡ Just one long filename is all it takes to trigger an integer overflow in MiniZip! This sneaky overflow could lead to a buffer overflow, giving attackers a fast track to your system. 🔥 Think of it like trying to fit a massive delivery box into a tiny apartment doorway. If the box is too big, it’s going to burst open, potentially spilling all its contents everywhere! Similarly, this overflow can lead to unpredictable chaos in your application. An attacker could exploit this vulnerability to execute malicious code, potentially leading to data breaches or service disruptions. With the ability to manipulate memory, the consequences could be severe, compromising the integrity of your system. It's absolutely devastating for any application relying on MiniZip!

Put simply

Think of it like trying to fit a massive delivery box into a tiny apartment doorway. If the box is too big, it’s going to burst open, potentially spilling all its contents everywhere! Similarly, this overflow can lead to unpredictable chaos in your application. The vulnerability exists in MiniZip (through zlib versions up to 1.3) due to an integer overflow when handling excessively long filenames, comments, or extra fields. This can result in a heap-based buffer overflow that attackers can exploit to execute arbitrary code.

What to do

An attacker could exploit this vulnerability to execute malicious code, potentially leading to data breaches or service disruptions. With the ability to manipulate memory, the consequences could be severe, compromising the integrity of your system. It's absolutely devastating for any application relying on MiniZip! To protect your system, upgrade to zlib version 1.3.1 or later immediately. If you're using pyminizip, ensure you're on version 0.2.7 or higher to avoid this vulnerability. It’s essential to audit your applications for any usage of the vulnerable MiniZip code. You've got this! With these steps, you can secure your application and keep it safe from potential risks. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.03448 · 88.9th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2023-10-14T06:15Z
Affected products (2)
ProductVersionsFixed in
zlib/zlib< 1.3.11.3.1
smihica/pyminizip≤ 0.2.6—
References (25)
http://www.openwall.com/lists/oss-security/2023/10/20/9 · [email protected]http://www.openwall.com/lists/oss-security/2024/01/24/10 · [email protected]https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356 · [email protected]https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61 · [email protected]https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4 · [email protected]https://github.com/madler/zlib/pull/843 · [email protected]https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html · [email protected]https://pypi.org/project/pyminizip/#history · [email protected]https://security.gentoo.org/glsa/202401-18 · [email protected]https://security.netapp.com/advisory/ntap-20231130-0009/ · [email protected]https://www.winimage.com/zLibDll/minizip.html · [email protected]http://www.openwall.com/lists/oss-security/2023/10/20/9 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2024/01/24/10 · af854a3a-2127-422b-91ae-364da2661108https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356 · af854a3a-2127-422b-91ae-364da2661108https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61 · af854a3a-2127-422b-91ae-364da2661108https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4 · af854a3a-2127-422b-91ae-364da2661108https://github.com/madler/zlib/pull/843 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html · af854a3a-2127-422b-91ae-364da2661108https://pypi.org/project/pyminizip/#history · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202401-18 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20231130-0009/ · af854a3a-2127-422b-91ae-364da2661108https://www.winimage.com/zLibDll/minizip.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-470355.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-769027.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 14 OCT 00:00Z
    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…
    cvelistv5