MySQL UNION change denial of service
| mysql-union-dos (17667) |
Description:
MySQL is vulnerable to a denial of service attack. By issuing multiple threads to alter the same or different MERGE tables to change the UNION, a remote attacker could cause the server to crash or hang.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Conectiva, Linux 10
- Conectiva, Linux 9.0
- Debian, Debian Linux 3.0
- FedoraProject, Fedora Core 2
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.0
- MandrakeSoft, Mandrake Linux 10.0 AMD64
- MandrakeSoft, Mandrake Linux 10.1
- MandrakeSoft, Mandrake Linux 10.1 X86_64
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux 9.2 AMD64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MySQL, MySQL 3.23
- MySQL, MySQL 4.0.18
- OpenPKG, OpenPKG 2.1
- OpenPKG, OpenPKG 2.2
- OpenPKG, OpenPKG CURRENT
- RedHat, Enterprise Linux 2.1 AW
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Linux Advanced Workstation 2.1 Itanium
- RedHat, RHEL Extras 3
- Sun, Solaris 10 SPARC
- Sun, Solaris 10 x86
- Trustix, Enterprise Server 2
- Trustix, Secure Linux 1.5
- Trustix, Secure Linux 2.0
- Trustix, Secure Linux 2.1
- Turbolinux, Turbolinux 10 Desktop
- Turbolinux, Turbolinux 10 F...
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux 8 Workstation
- Turbolinux, Turbolinux Home
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
Remedy:
Upgrade to the latest version of MySQL (3.23.59 or 4.0.21 or later), available from the MySQL Web site. See References.
For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest mysql package, as listed below. Refer to DSA-562-1 for more information. See References.
Debian GNU/Linux 3.0 (woody): 3.23.49-8.8 or later
For Trustix Secure Linux:
Upgrade to the latest mysql package, as listed in Trustix Secure Linux Security Advisory #2004-0054 for more information. See References.
For Red Hat Linux:
Upgrade to the latest mysql package, as listed below. Refer to RHSA-2004:597-06 for more information. See References.
Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 3.23.58-1.72.1 or later
For Gentoo Linux:
Upgrade to the latest version of MySQL (4.0.21 or later), as listed in GLSA 200410-22. See References.
For Red Hat Linux:
Upgrade to the latest mysql-server package, as listed below. Refer to RHSA-2004:611-04 for more information. See References.
Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 3.23.58-2.3.x86_64 or later
For OpenPKG:
Upgrade to the latest mysql package, as listed in OpenPKG Security Advisory OpenPKG-SA-2004.045. See References.
OpenPKG CURRENT: 4.0.21-20040910 or later
OpenPKG 2.1: 4.0.20-2.1.1or later
For Mandrake Linux:
Upgrade to the latest MySQL package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:119 for more information. See References.
Mandrake Linux 9.2: 4.0.15-1.2.92mdk or later
Mandrake Linux Corporate Server 2.1: 3.23.56-1.6.C21mdk or later
Mandrake Linux 10.0: 4.0.18-1.2.100mdk or later
Mandrake Linux 10.1: 4.0.20-3.1.101mdk or later
For Conectiva Linux:
Upgrade to the latest MySQL package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:892 for more information. See References.
Conectiva Linux 8: 4.0.15-62448U10_1cl or later
Conectiva Linux 9: 3.23.58-20507U90_2cl or later
For Ubuntu Linux:
Upgrade to the latest mysql-server package (4.0.20-2ubuntu1.1 or later), as listed in USN-32-1 November 25, 2004. See References.
For Fedora Core 2:
Upgrade to the latest mysql package (3.23.58-9.1 or later), as listed in Fedora Update Notification FEDORA-2004-530. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Denial of Service
References:
- CIAC Information Bulletin P-018, Red Hat Update MySQL Packages Fix Security Issues and Bugs at http://www.ciac.org/ciac/bulletins/p-018.shtml.
- Conectiva Linux Security Announcement CLSA-2004:892, Fixes for several mysql vulnerabilities at http://distro.conectiva.com.br/atualizacoes/index.php?id=a&anuncio=000892.
- MySQL Bugs: #2408, Multiple threads altering MERGE table UNIONs hang/crash at http://bugs.mysql.com/bug.php?id=2408.
- MySQL Download Web page, MySQL 4.0 Downloads at http://dev.mysql.com/downloads/mysql/4.0.html.
- MySQL Web site, MySQL:The World's Most Popular Open Source Database at http://www.mysql.com/.
- Sun Alert ID: 201658, Multiple Security Vulnerabilities in The "MySQL" Package at http://sunsolve.sun.com/search/document.do?assetkey=1-66-201658-1.
- Trustix Secure Linux Security Advisory #2004-0054, Multiple security vulnerabilities at http://www.trustix.net/errata/2004/0054/.
- BID-11357: MySQL Multiple Local Vulnerabilities
- CVE-2004-0837: MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows attackers to cause a denial of service (crash or hang) via multiple threads that simultaneously alter MERGE table UNIONs.
- DSA-562: mysql -- several vulnerabilities
- GLSA-200410-22: MySQL: Multiple vulnerabilities
- MDKSA-2004:119: Updated MySQL packages fix multiple vulnerabilities
- OpenPKG-SA-2004.045: MySQL
- RHSA-2004-597: mysql security update
- RHSA-2004-611: mysql-server security update
- SA12783: MySQL Multiple Vulnerabilities
- SECTRACK ID: 1011606: MySQL May Let Remote Authenticated Users Access Restricted Tables or Crash the System
- SUSE-SR:2004:001: SUSE Security Summary Report
Reported:
Oct 11, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
