Skip to content
OpenAdvisories
Unscored CVE-2005-0758 EUVD-2005-0759GHSA-gc4q-mf7x-jrrp

zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that …

Published May 13, 2005 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bzip2 1.0.2-8.1 —
Debian 14 gzip 1.3.5-10 —
Debian 13 bzip2 1.0.2-8.1 —
Debian 13 gzip 1.3.5-10 —
Debian 12 bzip2 1.0.2-8.1 —
Debian 12 gzip 1.3.5-10 —
ReleasePackageFixed inAdvisory
RHEL 4 bzip2 +2 1.0.2-13.EL4.3 RHSA-2005:474
RHEL 4 gzip 1.3.3-15.rhel4 RHSA-2005:357
RHEL 3 bzip2 +2 1.0.2-11.EL3.4 RHSA-2005:474
RHEL 3 gzip 1.3.3-12.rhel3 RHSA-2005:357

Advisories 2

References