Gentoo Logo

MySQL: Information leakage


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200605-13 / MySQL
Release Date May 11, 2006
Latest Revision May 15, 2006: 04
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/mysql < 4.1.19 >= 4.1.19, revision >= 4.0.27 All supported architectures

Related bugreports: #132146


A MySQL server may leak information to unauthorized users.

2.  Impact Information


MySQL is a popular multi-threaded, multi-user SQL database server.


The processing of the COM_TABLE_DUMP command by a MySQL server fails to properly validate packets that arrive from the client via a network socket.


By crafting specific malicious packets an attacker could gather confidential information from the memory of a MySQL server process, for example results of queries by other users or applications. By using PHP code injection or similar techniques it would be possible to exploit this flaw through web applications that use MySQL as a database backend.

Note that on 5.x versions it is possible to overwrite the stack and execute arbitrary code with this technique. Users of MySQL 5.x are urged to upgrade to the latest available version.

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.27"

4.  References


Page updated May 11, 2006

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.