CVE-2005-1228 Path traversal in n/a
Remote attackers can write to arbitrary directories via path traversal in gzip's gunzip -N option when processing compressed files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2005-1228?
CVE-2005-1228 is a medium-severity path traversal vulnerability in n/a, published on 22 Apr 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2005-1228?
It affects 1 product.
Products include Gnu Gzip.
How do I fix CVE-2005-1228?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2005-1228 being exploited?
There is no known exploitation of CVE-2005-1228 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2005-1228, GHSA-9855-w374-4v24.