CVE-2005-1228
published 2005-05-02CVE-2005-1228: 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…
PriorityP426medium5CVSS 2.0
AVNACLAuNCNIPAN
EPSS
3.58%
88.1th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gzip | < gzip 1.3.5-10 (bookworm) | gzip 1.3.5-10 (bookworm) |
| gnu | gzip | — | — |
| gnu | gzip | — | — |
| gzip | gzip | >= 0 < 1.3.5-10 | 1.3.5-10 |
| gzip | gzip | >= 0 < 1.3.5-10 | 1.3.5-10 |
| gzip | gzip | >= 0 < 1.3.5-10 | 1.3.5-10 |
| gzip | gzip | >= 0 < 1.3.5-10 | 1.3.5-10 |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
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-18·CVSS 5.0
CVE-2005-1228 [MEDIUM] security flaw
security flaw
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.
Statement: Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Debian
CVE-2005-1228: gzip - Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allow...
vendor_debian·2005·CVSS 5.0
CVE-2005-1228 [MEDIUM] CVE-2005-1228: gzip - Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allow...
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.
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-9855-w374-4v24: Directory traversal vulnerability in gunzip -N in gzip 1
ghsa_unreviewed·2022-05-03
CVE-2005-1228 [MEDIUM] GHSA-9855-w374-4v24: Directory traversal vulnerability in gunzip -N in gzip 1
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.
OSV
CVE-2005-1228: Directory traversal vulnerability in gunzip -N in gzip 1
osv·2005-05-02·CVSS 5.0
CVE-2005-1228 [MEDIUM] CVE-2005-1228: Directory traversal vulnerability in gunzip -N in gzip 1
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.
No detection rules found.
No public exploits indexed.
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txthttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305255http://lists.apple.com/archives/security-announce/2006//Aug/msg00000.htmlhttp://marc.info/?l=bugtraq&m=111402732406477&w=2http://rhn.redhat.com/errata/RHSA-2005-357.htmlhttp://secunia.com/advisories/15047http://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/15721http://www.securityfocus.com/bid/19289http://www.us-cert.gov/cas/techalerts/TA06-214A.htmlhttp://www.vupen.com/english/advisories/2006/3101https://exchange.xforce.ibmcloud.com/vulnerabilities/20199https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11057https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A170https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A382ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txthttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305255http://lists.apple.com/archives/security-announce/2006//Aug/msg00000.htmlhttp://marc.info/?l=bugtraq&m=111402732406477&w=2http://rhn.redhat.com/errata/RHSA-2005-357.htmlhttp://secunia.com/advisories/15047http://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/15721http://www.securityfocus.com/bid/19289http://www.us-cert.gov/cas/techalerts/TA06-214A.htmlhttp://www.vupen.com/english/advisories/2006/3101https://exchange.xforce.ibmcloud.com/vulnerabilities/20199https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11057https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A170https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A382
2005-05-02
Published