CVE-2005-0758: Medium severity GNU gzip vulnerability

Published May 13, 2005
·
Updated

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 Software

11 affected componentsFixes available
GNU gzip<1.3.5
Canonical Ubuntu Linux=4.10
Canonical Ubuntu Linux=5.04
debian/bzip2<1.0.2-8.1
1.0.2-8.1
debian/bzip2<1.0.2-8.1
1.0.2-8.1
debian/bzip2<1.0.2-8.1
1.0.2-8.1
debian/gzip<1.3.5-10
1.3.5-10
debian/gzip<1.3.5-10
1.3.5-10
debian/gzip<1.3.5-10
1.3.5-10
debian/bzip2
1.0.8-51.0.8-6
debian/gzip
1.12-11.13-1+deb13u11.14-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/bzip2 to a version that resolves this vulnerability.

    Fixed in 1.0.2-8.1
  2. Upgrade

    Upgrade debian/gzip to a version that resolves this vulnerability.

    Fixed in 1.3.5-10
  3. Upgrade

    Upgrade debian/bzip2 to a version that resolves this vulnerability.

    Fixed in 1.0.8-5Fixed in 1.0.8-6
  4. Upgrade

    Upgrade debian/gzip to a version that resolves this vulnerability.

    Fixed in 1.12-1Fixed in 1.13-1+deb13u1Fixed in 1.14-1

Event History

May 13, 2005
CVE Published
04:00 AM
Data Sourced
via OSV·04:00 AM
DescriptionAffected Software
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2005-0758?

CVE-2005-0758 is considered a medium severity vulnerability due to the potential for local users to execute arbitrary commands.

2

How do I fix CVE-2005-0758?

To fix CVE-2005-0758, you should upgrade to a version of gzip that is 1.3.5 or higher.

3

Who is affected by CVE-2005-0758?

CVE-2005-0758 affects users of gzip versions prior to 1.3.5 on various Linux distributions, including specific versions of Ubuntu.

4

What are the consequences of exploiting CVE-2005-0758?

Exploiting CVE-2005-0758 could allow an attacker to execute arbitrary commands on a local system, which could lead to further compromises.

5

Is CVE-2005-0758 specific to any particular operating system?

CVE-2005-0758 is not specific to one operating system; it affects GNU gzip used in various Linux distributions, notably Ubuntu.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203