Arbitrary Code Execution Affecting madler/zlib package, versions [,1.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
35.77% (97th 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MADLERZLIB-2366566
  • published26 Jan 2022
  • disclosed15 Mar 2002
  • creditUnknown

Introduced: 15 Mar 2002

CVE-2002-0059  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade madler/zlib to version 1.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. The decompression algorithm in zlib 1.1.3 and earlier, as used in many different utilities and packages, causes inflateEnd to release certain memory more than once (a "double free"), which may allow local and remote attackers to execute arbitrary code via a block of malformed compression data.

References

CVSS Base Scores

version 3.1