MySQL contains several vulnerabilities potentially leading to the overwriting of local files or to the execution of arbitrary code.
|Package||dev-db/mysql on all architectures|
|Affected versions||< 4.0.24|
|Unaffected versions||>= 4.0.24|
MySQL is a fast, multi-threaded, multi-user SQL database server.
MySQL fails to properly validate input for authenticated users with INSERT and DELETE privileges (CAN-2005-0709 and CAN-2005-0710). Furthermore MySQL uses predictable filenames when creating temporary files with CREATE TEMPORARY TABLE (CAN-2005-0711).
An attacker with INSERT and DELETE privileges could exploit this to manipulate the mysql table or accessing libc calls, potentially leading to the execution of arbitrary code with the permissions of the user running MySQL. An attacker with CREATE TEMPORARY TABLE privileges could exploit this to overwrite arbitrary files via a symlink attack.
There is no known workaround at this time.
All MySQL users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-db/mysql-4.0.24"
March 16, 2005
March 16, 2005: 02
remote and local