CVE-2004-0771 Memory corruption in n/a
Buffer overflow in LHA allows arbitrary code execution via a long command line option, requiring user interaction to process the malicious input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2004-0771?
CVE-2004-0771 is a critical memory corruption vulnerability in n/a, published on 5 Aug 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute arbitrary code via a long w (working directory) command line option, a different issue than CVE-2004-0769. NOTE: this issue may be REJECTED if there are not any cases in which LHA is setuid or is otherwise used across security boundaries.
Which versions are affected by CVE-2004-0771?
It affects 1 product.
Products include Tsugio Okamoto Lha.
How do I fix CVE-2004-0771?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-0771 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0771 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vpgp-fv4q-4fgr.