Debian Security Advisory

DSA-562-1 mysql -- several vulnerabilities

Date Reported:
11 Oct 2004
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2004-0835, CVE-2004-0836, CVE-2004-0837.
More information:

Several problems have been discovered in MySQL, a commonly used SQL database on Unix servers. The following problems have been identified by the Common Vulnerabilities and Exposures Project:

  • CAN-2004-0835

    Oleksandr Byelkin noticed that ALTER TABLE ... RENAME checks CREATE/INSERT rights of the old table instead of the new one.

  • CAN-2004-0836

    Lukasz Wojtow noticed a buffer overrun in the mysql_real_connect function.

  • CAN-2004-0837

    Dean Ellis noticed that multiple threads ALTERing the same (or different) MERGE tables to change the UNION can cause the server to crash or stall.

For the stable distribution (woody) these problems have been fixed in version 3.23.49-8.8.

For the unstable distribution (sid) these problems have been fixed in version 4.0.21-1.

We recommend that you upgrade your mysql and related packages and restart services linking against them (e.g. Apache/PHP).

Fixed in:

Debian GNU/Linux 3.0 (woody)

Architecture-independent component:
Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.