1. Gentoo Linux Security Advisory
| 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.
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:
Code Listing 3.1: Resolution |
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-db/mysql-4.0.24" |