Skip to content

CVE-2005-0758 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.

MediumCVSS 4.6 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
GNU gzip < 1.3.5 1.3.5
Canonical Ubuntu Linux = 4.10 No fix listed
Canonical Ubuntu Linux = 5.04 No fix listed
debian/bzip2(Debian:12) < 1.0.2-8.1 1.0.2-8.1
debian/bzip2(Debian:13) < 1.0.2-8.1 1.0.2-8.1
debian/bzip2(Debian:14) < 1.0.2-8.1 1.0.2-8.1
debian/gzip(Debian:12) < 1.3.5-10 1.3.5-10
debian/gzip(Debian:13) < 1.3.5-10 1.3.5-10
debian/gzip(Debian:14) < 1.3.5-10 1.3.5-10

References