CVE-2005-0988
published 2005-05-02CVE-2005-0988: 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…
PriorityP411low3.7CVSS 2.0
AVLACHAuNCPIPAP
EPSS
0.66%
47.2th percentile
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.
Affected
47 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gzip | < gzip 1.3.5-10 (bookworm) | gzip 1.3.5-10 (bookworm) |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| freebsd | freebsd | — | — |
| gnu | gzip | — | — |
| gnu | gzip | — | — |
| gnu | gzip | — | — |
| gzip | gzip | >= 0 < 1.3.5-10 | 1.3.5-10 |
CVSS provenance
nvdv2.03.7LOWAV:L/AC:H/Au:N/C:P/I:P/A:P
osv3.7LOW
vendor_debian3.7LOW
vendor_redhat3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
gzip vulnerabilities
vendor_ubuntu·2005-05-04
CVE-2005-0988 gzip vulnerabilities
Title: gzip vulnerabilities
Summary: gzip vulnerabilities
Imran Ghory discovered a race condition in the file permission restore
code of gzip and gunzip. While a user was compressing or decompressing
a file, a local attacker with write permissions in the directory of
that file could replace the target file with a hard link. This would
cause gzip to restore the file permissions to the hard link target
instead of to the gzip output file, which could be exploited to gain
read or even write access to files of other users. (CAN-2005-0988)
Ulf Harnhammar found a path traversal vulnerability when gunzip was
used with the -N option. An attacker could exploit this to create
files in an arbitrary directory with the permissions of a user if he
tricked this user to decompress a specially crafted gz
Red Hat
security flaw
vendor_redhat·2005-04-04·CVSS 3.7
CVE-2005-0988 [LOW] security flaw
security flaw
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.
Statement: Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Debian
CVE-2005-0988: gzip - Race condition in gzip 1.2.4, 1.3.3, and earlier, when decompressing a gzipped f...
vendor_debian·2005·CVSS 3.7
CVE-2005-0988 [LOW] CVE-2005-0988: gzip - Race condition in gzip 1.2.4, 1.3.3, and earlier, when decompressing a gzipped f...
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.
Scope: local
bookworm: resolved (fixed in 1.3.5-10)
bullseye: resolved (fixed in 1.3.5-10)
forky: resolved (fixed in 1.3.5-10)
sid: resolved (fixed in 1.3.5-10)
trixie: resolved (fixed in 1.3.5-10)
GHSA
GHSA-pmqf-rc4m-6f55: Race condition in gzip 1
ghsa_unreviewed·2022-05-03
CVE-2005-0988 [LOW] GHSA-pmqf-rc4m-6f55: Race condition in gzip 1
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.
OSV
CVE-2005-0988: Race condition in gzip 1
osv·2005-05-02·CVSS 3.7
CVE-2005-0988 [LOW] CVE-2005-0988: Race condition in gzip 1
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.
No detection rules found.
No public exploits indexed.
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txthttp://lists.apple.com/archives/security-announce/2006//Aug/msg00000.htmlhttp://rhn.redhat.com/errata/RHSA-2005-357.htmlhttp://secunia.com/advisories/18100http://secunia.com/advisories/21253http://secunia.com/advisories/22033http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852http://sunsolve.sun.com/search/document.do?assetkey=1-26-101816-1http://www.debian.org/security/2005/dsa-752http://www.osvdb.org/15487http://www.securityfocus.com/archive/1/394965http://www.securityfocus.com/bid/12996http://www.securityfocus.com/bid/19289http://www.us-cert.gov/cas/techalerts/TA06-214A.htmlhttp://www.vupen.com/english/advisories/2006/3101https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10242https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1169https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A765ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txthttp://lists.apple.com/archives/security-announce/2006//Aug/msg00000.htmlhttp://rhn.redhat.com/errata/RHSA-2005-357.htmlhttp://secunia.com/advisories/18100http://secunia.com/advisories/21253http://secunia.com/advisories/22033http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852http://sunsolve.sun.com/search/document.do?assetkey=1-26-101816-1http://www.debian.org/security/2005/dsa-752http://www.osvdb.org/15487http://www.securityfocus.com/archive/1/394965http://www.securityfocus.com/bid/12996http://www.securityfocus.com/bid/19289http://www.us-cert.gov/cas/techalerts/TA06-214A.htmlhttp://www.vupen.com/english/advisories/2006/3101https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10242https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1169https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A765
2005-05-02
Published