Integer Overflow or Wraparound Affecting zlib-static package, versions <0:1.2.11-33.amzn2023.0.5


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.35% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-ZLIBSTATIC-6045837
  • published4 Nov 2023
  • disclosed14 Oct 2023

Introduced: 14 Oct 2023

CVE-2023-45853  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 zlib-static to version 0:1.2.11-33.amzn2023.0.5 or higher.
This issue was patched in ALAS2023-2023-410.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zlib-static package and not the zlib-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1