Alerts This Week
Warning Icon 1 692
Alerts This Week
Warning Icon 1 692

Red Hat: RHSA-2010:0825-01 Moderate Severity MySQL Denial of Service Threat

red hat
Calendar Grey November 3, 2010
Dist Redhat Esm H88
A series of security patches have been issued for mysql within Red Hat Enterprise Linux 5, classified as having a moderate severity level. Discover more details today.
Updated mysql packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at

Summary

MySQL is a multi-user, multi-threaded SQL database server. It consists of the MySQL server daemon (mysqld) and many client programs and libraries.
It was found that the MySQL PolyFromWKB() function did not sanity check Well-Known Binary (WKB) data. A remote, authenticated attacker could use specially-crafted WKB data to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3840)
A flaw was found in the way MySQL processed certain JOIN queries. If a stored procedure contained JOIN queries, and that procedure was executed twice in sequence, it could cause an infinite loop, leading to excessive CPU use (up to 100%). A remote, authenticated attacker could use this flaw to cause a denial of service. (CVE-2010-3839)
A flaw was found in the way MySQL processed queries that provide a mixture of numeric and longblob data types to the LEAST or GREATEST function. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3838)
A flaw was found in the way MySQL processed PREPARE statements containing both GROUP_CONCAT and the WITH ROLLUP modifier. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3837)
It was found that MySQL did not properly pre-evaluate LIKE arguments in view prepare mode. A remote, authenticated attacker could possibly use this flaw to crash mysqld. (CVE-2010-3836)
A flaw was found in the way MySQL processed statements that assign a value to a user-defined variable and that also contain a logical value evaluation. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3835)
A flaw was found in the way MySQL evaluated the arguments of extreme-value functions, such as LEAST and GREATEST. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3833)
A flaw was found in the way MySQL processed EXPLAIN statements for some complex SELECT queries. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3682)
A flaw was found in the way MySQL processed certain alternating READ requests provided by HANDLER statements. A remote, authenticated attacker could use this flaw to provide such requests, causing mysqld to crash. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3681)
A flaw was found in the way MySQL processed CREATE TEMPORARY TABLE statements that define NULL columns when using the InnoDB storage engine. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3680)
A flaw was found in the way MySQL processed JOIN queries that attempt to retrieve data from a unique SET column. A remote, authenticated attacker could use this flaw to crash mysqld. This issue only caused a temporary denial of service, as mysqld was automatically restarted after the crash. (CVE-2010-3677)
All MySQL users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically.

References

https://access.redhat.com/security/cve/CVE-2010-3677 https://access.redhat.com/security/cve/CVE-2010-3680 https://access.redhat.com/security/cve/CVE-2010-3681 https://access.redhat.com/security/cve/CVE-2010-3682 https://access.redhat.com/security/cve/CVE-2010-3833 https://access.redhat.com/security/cve/CVE-2010-3835 https://access.redhat.com/security/cve/CVE-2010-3836 https://access.redhat.com/security/cve/CVE-2010-3837 https://access.redhat.com/security/cve/CVE-2010-3838 https://access.redhat.com/security/cve/CVE-2010-3839 https://access.redhat.com/security/cve/CVE-2010-3840 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386: mysql-5.0.77-4.el5_5.4.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.4.i386.rpm
x86_64: mysql-5.0.77-4.el5_5.4.i386.rpm mysql-5.0.77-4.el5_5.4.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_5.4.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.4.x86_64.rpm
RHEL Desktop Workstation (v. 5 client):
Source:
i386: mysql-bench-5.0.77-4.el5_5.4.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.4.i386.rpm mysql-devel-5.0.77-4.el5_5.4.i386.rpm mysql-server-5.0.77-4.el5_5.4.i386.rpm mysql-test-5.0.77-4.el5_5.4.i386.rpm
x86_64: mysql-bench-5.0.77-4.el5_5.4.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_5.4.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.4.x86_64.rpm mysql-devel-5.0.77-4.el5_5.4.i386.rpm mysql-devel-5.0.77-4.el5_5.4.x86_64.rpm mysql-server-5.0.77-4.el5_5.4.x86_64.rpm mysql-test-5.0.77-4.el5_5.4.x86_64.rpm
Red Hat Enterprise Linux (v. 5 server):
Source:
i386: mysql-5.0.77-4.el5_5.4.i386.rpm mysql-bench-5.0.77-4.el5_5.4.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.4.i386.rpm mysql-devel-5.0.77-4.el5_5.4.i386.rpm mysql-server-5.0.77-4.el5_5.4.i386.rpm mysql-test-5.0.77-4.el5_5.4.i386.rpm
ia64: mysql-5.0.77-4.el5_5.4.i386.rpm mysql-5.0.77-4.el5_5.4.ia64.rpm mysql-bench-5.0.77-4.el5_5.4.ia64.rpm mysql-debuginfo-5.0.77-4.el5_5.4.i386.rpm

Read the Full Advisory


Advisory ID: RHSA-2010:0825-01
Product: Red Hat Enterprise Linux
Issue date: 2010-11-03

Topic

Updated mysql packages that fix multiple security issues are now availablefor Red Hat Enterprise Linux 5.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.

Relevant Releases Architectures

RHEL Desktop Workstation (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

Bugs Fixed

628040 - CVE-2010-3677 MySQL: Mysqld DoS (crash) by processing joins involving a table with a unique SET column (MySQL BZ#54575)

628192 - CVE-2010-3680 MySQL: mysqld DoS (assertion failure) by using temporary InnoDB engine tables with nullable columns (MySQL bug #54044)

628328 - CVE-2010-3682 MySQL: mysqld DoS (crash) by processing EXPLAIN statements for complex SQL queries (MySQL bug #52711)

628680 - CVE-2010-3681 MySQL: mysqld DoS (assertion failure) by alternate reads from two indexes on a table using the HANDLER interface (MySQL bug #54007)

640751 - CVE-2010-3833 MySQL: CREATE TABLE ... SELECT causes crash when KILL_BAD_DATA is returned (MySQL Bug#55826)

640819 - CVE-2010-3835 MySQL: crash with user variables, assignments, joins... (MySQL Bug #55564)

640845 - CVE-2010-3836 MySQL: pre-evaluating LIKE arguments in view prepare mode causes crash (MySQL Bug#54568)

640856 - CVE-2010-3837 MySQL: crash when group_concat and "with rollup" in prepared statements (MySQL Bug#54476)

640858 - CVE-2010-3838 MySQL: crash with LONGBLOB and union or update with subquery (MySQL Bug#54461)

640861 - CVE-2010-3839 MySQL: server hangs during JOIN query in stored procedures called twice in a row (MySQL Bug#53544)

640865 - CVE-2010-3840 MySQL: crash when loading data into geometry function PolyFromWKB() (MySQL Bug#51875)

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here