Arbitrary Code Execution Affecting gzip package, versions [,1.3.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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-GZIP-2319500
  • published14 Dec 2021
  • disclosed13 May 2005
  • creditUnknown

Introduced: 13 May 2005

CVE-2005-0758  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade gzip to version 1.3.5 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.

CVSS Base Scores

version 3.1