Paper/Archive/CVE-2023-45853

CVE-2023-45853

zlib zlib — MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filena…

Description · from the CVE record

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

ProductAffectedFixed inSource
n/an/a–CNA
zlib< 1.31.3CISA-ADP
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/madler/zlib/pull/843refwinimage.com/zLibDll/minizip.htmlrefgithub.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4refchromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61refchromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356refopenwall.com/lists/oss-security/2023/10/20/9reflists.debian.org/debian-lts-announce/2023/11/msg00026.htmlrefsecurity.netapp.com/advisory/ntap-20231130-0009refpypi.org/project/pyminizip/#historyadvisorysecurity.gentoo.org/glsa/202401-18refopenwall.com/lists/oss-security/2024/01/24/10refcert-portal.siemens.com/productcert/html/ssa-398330.htmlrefcert-portal.siemens.com/productcert/html/ssa-769027.htmlrefcert-portal.siemens.com/productcert/html/ssa-470355.html