Gentoo Logo

MySQL: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-19 / mysql
Release Date March 16, 2005
Latest Revision March 16, 2005: 02
Impact normal
Exploitable remote and local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/mysql < 4.0.24 >= 4.0.24 All supported architectures

Related bugreports: #84819


MySQL contains several vulnerabilities potentially leading to the overwriting of local files or to the execution of arbitrary code.

2.  Impact Information


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.

3.  Resolution Information


There is no known workaround at this time.


All MySQL users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/mysql-4.0.24"

4.  References


Page updated March 16, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.