MySQL: Denial of Service and information leakage

Security Team  Contact Address

Updated August 16, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200708-10 / mysql
Release Date August 16, 2007
Latest Revision August 16, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/mysql < 5.0.44 >= 5.0.44 All supported architectures

Related bugreports: #185333

Synopsis

A Denial of Service vulnerability and a table structure information leakage vulnerability were found in MySQL.

2.  Impact Information

Background

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

Description

Dormando reported a vulnerability within the handling of password packets in the connection protocol (CVE-2007-3780). Andrei Elkin also found that the "CREATE TABLE LIKE" command didn't require SELECT privileges on the source table (CVE-2007-3781).

Impact

A remote unauthenticated attacker could use the first vulnerability to make the server crash. The second vulnerability can be used by authenticated users to obtain information on tables they are not normally able to access.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All MySQL users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References