Improper Input Validation Affecting gzip package, versions [,1.3.13)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.18% (90th 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-UNMANAGED-GZIP-2319496
  • published14 Dec 2021
  • disclosed29 Jan 2010
  • creditUnknown

Introduced: 29 Jan 2010

CVE-2009-2624  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade gzip to version 1.3.13 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The huft_build function in inflate.c in gzip before 1.3.13 creates a hufts (aka huffman) table that is too small, which allows remote attackers to cause a denial of service (application crash or infinite loop) or possibly execute arbitrary code via a crafted archive. NOTE: this issue is caused by a CVE-2006-4334 regression.

References

CVSS Base Scores

version 3.1