Debian DSA-562-1 : mysql - several vulnerabilities

critical Nessus Plugin ID 15660


The remote Debian host is missing a security-related update.


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.


Upgrade the mysql and related packages and restart services linking against them (e.g. Apache/PHP).

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

See Also

Plugin Details

Severity: Critical

ID: 15660

File Name: debian_DSA-562.nasl

Version: 1.20

Type: local

Agent: unix

Published: 11/10/2004

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Critical

Base Score: 10

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:mysql, cpe:/o:debian:debian_linux:3.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 10/11/2004

Vulnerability Publication Date: 6/4/2004

Reference Information

CVE: CVE-2004-0835, CVE-2004-0836, CVE-2004-0837

DSA: 562

CWE: 119