CVE-2005-1228: Medium severity GNU gzip vulnerability

Published Apr 22, 2005
·
Updated

Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allows remote attackers to write to arbitrary directories via a .. (dot dot) in the original filename within a compressed file.

Other sources

Flaw bug created to hold information about an old flaw we knew something about. For more details see the MITRE CVE description.

— Red Hat

Affected Software

6 affected componentsFixes available
GNU gzip=1.3.3
GNU gzip=1.2.4
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/gzip
1.3.2-3woody51.3.5-10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.3.5-10
  2. Upgrade

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

    Fixed in 1.3.2-3woody5Fixed in 1.3.5-10

Event History

Apr 22, 2005
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
Description
CVE Published
via MITRE·08:00 AM
May 2, 2005
Data Sourced
04:00 AM
DescriptionWeaknessAffected Software
Data Sourced
via OSV·04:00 AM
DescriptionAffected Software
Data Sourced
via NVD·04:00 AM
RemedyDescriptionSeverityAffected Software
Oct 11, 2017
Data Sourced
01:30 AM
RemedySeverity
Aug 16, 2018
Data Sourced
via Red Hat·04:11 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2005-1228?

CVE-2005-1228 is classified as a moderate severity vulnerability due to its potential for directory traversal attacks.

2

How do I fix CVE-2005-1228?

To fix CVE-2005-1228, upgrade your GNU gzip to version 1.3.6 or later where the vulnerability is patched.

3

Which versions of gzip are affected by CVE-2005-1228?

CVE-2005-1228 affects gzip versions 1.2.4 through 1.3.5, including 1.3.3.

4

What type of attack does CVE-2005-1228 enable?

CVE-2005-1228 enables a directory traversal attack allowing remote attackers to write to arbitrary directories.

5

Is CVE-2005-1228 exploitable remotely?

Yes, CVE-2005-1228 is exploitable remotely when an attacker can deliver a specially crafted compressed file.

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