3.7
CWE
NVD-CWE-Other 362
Advisory Published
Updated

CVE-2005-0988: Race Condition

First published: Wed Apr 06 2005(Updated: )

Race condition in gzip 1.2.4, 1.3.3, and earlier, when decompressing a gzipped file, allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by gzip after the decompression is complete.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
gzip=1.3.3
gzip=1.2.4
gzip=1.2.4a
FreeBSD Kernel=4.3-releng
Red Hat Enterprise Linux=2.1
FreeBSD Kernel=4.1.1-stable
FreeBSD Kernel=4.6-releng
FreeBSD Kernel=5.4-releng
FreeBSD Kernel=5.3-release
Red Hat Enterprise Linux=4.0
FreeBSD Kernel=4.1.1-release
Trustix Secure Linux=2.0
Red Hat Enterprise Linux Desktop=3.0
FreeBSD Kernel=5.1-releng
Ubuntu=4.1
Red Hat Linux Advanced Workstation=2.1
Red Hat Enterprise Linux=4.0
FreeBSD Kernel=4.4-stable
FreeBSD Kernel=5.3
FreeBSD Kernel=4.6-stable
Red Hat Enterprise Linux=3.0
FreeBSD Kernel=4.8-release_p6
Red Hat Enterprise Linux=2.1
FreeBSD Kernel=4.6-release
FreeBSD Kernel=5.1-release_p5
FreeBSD Kernel=4.3-stable
TurboLinux Appliance Server=1.0_workgroup
FreeBSD Kernel=4.7-stable
FreeBSD Kernel=5.2.1-releng
FreeBSD Kernel=5.0-release_p14
FreeBSD Kernel=5.1-release
Red Hat Enterprise Linux=2.1
FreeBSD Kernel=4.3-release_p38
Turbolinux Server=7.0
FreeBSD Kernel=4.5-stable
FreeBSD Kernel=4.6-release_p20
FreeBSD Kernel=4.5-release
FreeBSD Kernel=5.0-releng
Ubuntu=5.04
FreeBSD Kernel=5.1-alpha
FreeBSD Kernel=4.3-release
FreeBSD Kernel=4.10-releng
FreeBSD Kernel=4.7-releng
FreeBSD Kernel=4.2-stable
FreeBSD Kernel=4.5
FreeBSD Kernel=4.4-release_p42
FreeBSD Kernel=4.7
Ubuntu=5.04
FreeBSD Kernel=4.11-releng
FreeBSD Kernel=4.1
FreeBSD Kernel=4.10-release
Turbolinux Workstation=7.0
FreeBSD Kernel=4.4-releng
FreeBSD Kernel=4.4
FreeBSD Kernel=4.9-releng
FreeBSD Kernel=5.1
FreeBSD Kernel=4.7-release_p17
FreeBSD Kernel=4.9-pre-release
Red Hat Linux Advanced Workstation=2.1
FreeBSD Kernel=4.8-pre-release
FreeBSD Kernel=5.2
FreeBSD Kernel=4.5-release_p32
FreeBSD Kernel=4.11-release_p3
FreeBSD Kernel=4.10-release_p8
Turbolinux
Red Hat Enterprise Linux=4.0
Turbolinux Workstation=8.0
FreeBSD Kernel=4.8
FreeBSD Kernel=4.2
Red Hat Enterprise Linux=3.0
FreeBSD Kernel=5.4-pre-release
Red Hat Enterprise Linux=2.1
FreeBSD Kernel=4.0-releng
FreeBSD Kernel=4.0
FreeBSD Kernel=4.1.1
FreeBSD Kernel=4.6
FreeBSD Kernel=4.3
FreeBSD Kernel=4.10
FreeBSD Kernel=5.4-release
TurboLinux Appliance Server=1.0_hosting
FreeBSD Kernel=5.0-alpha
Red Hat Enterprise Linux=2.1
FreeBSD Kernel=4.5-releng
Trustix Secure Linux=2.1
Red Hat Enterprise Linux Desktop=4.0
Ubuntu=5.04
Trustix Secure Linux=2.2
FreeBSD Kernel=5.2.1-release
Turbolinux Server=8.0
FreeBSD Kernel=4.8-releng
Ubuntu=4.1
FreeBSD Kernel=5.0
FreeBSD Kernel=5.3-stable
FreeBSD Kernel=4.0-alpha
Turbolinux Server=10.0
FreeBSD Kernel=4.7-release
Gentoo Linux
TurboLinux Desktop=10.0
FreeBSD Kernel=4.9
FreeBSD Kernel=4.6.2
Red Hat Enterprise Linux=2.1
FreeBSD Kernel=5.3-releng
FreeBSD Kernel=4.11-stable
Red Hat Enterprise Linux=3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2005-0988?

    CVE-2005-0988 is considered a moderate severity vulnerability due to its potential for local privilege escalation.

  • How do I fix CVE-2005-0988?

    To fix CVE-2005-0988, update the GNU gzip version to 1.3.4 or later, or apply available vendor patches.

  • Which versions of gzip are affected by CVE-2005-0988?

    CVE-2005-0988 affects gzip versions 1.2.4, 1.2.4a, and 1.3.3 and earlier.

  • What impact does CVE-2005-0988 have on system security?

    The impact of CVE-2005-0988 allows local users to alter permissions of arbitrary files, potentially compromising system integrity.

  • Is there a workaround for CVE-2005-0988?

    A temporary workaround for CVE-2005-0988 is to avoid using gzip for decompressing files in sensitive locations.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203