Skip to content
OpenAdvisories
Unscored CVE-2004-2372 EUVD-2004-2364GHSA-g3hw-2h8v-79ff

Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute arbitrary code via a long HOME environment variab…

Published Aug 16, 2005 · Updated Aug 8, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bochs 2.1.1-1 —
Debian 13 bochs 2.1.1-1 —
Debian 12 bochs 2.1.1-1 —

References