Integer Overflow or Wraparound Affecting zlib package, versions <0:1.2.7-19.amzn2.0.3


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.12% (46th percentile)
Expand this section
NVD
9.8 critical
Expand this section
SUSE
5.3 medium
Expand this section
Red Hat
5.3 medium

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 ID SNYK-AMZN2-ZLIB-6043077
  • published 2 Nov 2023
  • disclosed 14 Oct 2023

How to fix?

Upgrade Amazon-Linux:2 zlib to version 0:1.2.7-19.amzn2.0.3 or higher.
This issue was patched in ALAS2-2023-2320.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zlib package and not the zlib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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.