CVE Catalog

CVE-2004-2372

High
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk for the organization is the potential for local privilege escalation, which could lead to system compromise if Bochs is configured with setuid root.

Recommendation

It is recommended to upgrade Bochs to version 2.1.1 or later and avoid installing the program with setuid root unless absolutely necessary and secured by other measures.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS