CVE-2005-0758 Command injection in n/a
Local attackers can execute arbitrary commands via crafted filenames in zgrep due to improper argument sanitization.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2005-0758?
CVE-2005-0758 is a medium-severity command injection vulnerability in Canonical Ubuntu Linux, published on 13 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.
Which versions are affected by CVE-2005-0758?
It affects 2 products.
Products include Canonical Ubuntu Linux, Gnu Gzip.
How do I fix CVE-2005-0758?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2005-0758 being exploited?
There is no known exploitation of CVE-2005-0758 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2005-0758, GHSA-gc4q-mf7x-jrrp.