CVE-2004-2372 Memory corruption in n/a
Local attackers can execute arbitrary code with elevated privileges via a buffer overflow in the Bochs emulator when installed setuid.
- 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-2004-2372?
CVE-2004-2372 is a high-severity memory corruption vulnerability in n/a, published on 16 Aug 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute arbitrary code via a long HOME environment variable, which is used if the .bochsrc, bochsrc, and bochsrc.txt cannot be found in a known path. NOTE: some external documents recommend that Bochs be installed setuid root, so this should be treated as a vulnerability.
Which versions are affected by CVE-2004-2372?
It affects 1 product.
Products include Bochs Project Bochs.
How do I fix CVE-2004-2372?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-2372 being exploited?
There is no known exploitation of CVE-2004-2372 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2004-2372, GHSA-g3hw-2h8v-79ff.