====================================================================                   Red Hat Security Advisory

Synopsis:          Important: mysql security update
Advisory ID:       RHSA-2010:0442-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2010:0442.html
Issue date:        2010-05-26
CVE Names:         CVE-2010-1626 CVE-2010-1848 CVE-2010-1850 
====================================================================
1. Summary:

Updated mysql packages that fix three security issues are now available for
Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. 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

3. Description:

MySQL is a multi-user, multi-threaded SQL database server. It consists of
the MySQL server daemon (mysqld) and many client programs and libraries.

A buffer overflow flaw was found in the way MySQL handled the parameters of
the MySQL COM_FIELD_LIST network protocol command (this command is sent
when a client uses the MySQL mysql_list_fields() client library function).
An authenticated database user could send a request with an excessively
long table name to cause a temporary denial of service (mysqld crash) or,
potentially, execute arbitrary code with the privileges of the database
server. (CVE-2010-1850)

A directory traversal flaw was found in the way MySQL handled the
parameters of the MySQL COM_FIELD_LIST network protocol command. An
authenticated database user could use this flaw to obtain descriptions of
the fields of an arbitrary table using a request with a specially-crafted
table name. (CVE-2010-1848)

A flaw was discovered in the way MySQL handled symbolic links to tables
created using the DATA DIRECTORY and INDEX DIRECTORY directives in CREATE
TABLE statements. An attacker with CREATE and DROP table privileges, and
shell access to the database server, could use this flaw to remove data and
index files of tables created by other database users using the MyISAM
storage engine. (CVE-2010-1626)

All MySQL users are advised to upgrade to these updated packages, which
contain backported patches to resolve these issues. After installing this
update, the MySQL server daemon (mysqld) will be restarted automatically.

4. 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

5. Bugs fixed (http://bugzilla.redhat.com/):

553648 - CVE-2010-1626 mysql: table destruction via DATA/INDEX DIRECTORY directives using symlinks
592079 - CVE-2010-1848 mysql: multiple insufficient table name checks
592091 - CVE-2010-1850 mysql: COM_FIELD_LIST table name buffer overflow

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:

i386:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-bench-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-server-5.0.77-4.el5_5.3.i386.rpm
mysql-test-5.0.77-4.el5_5.3.i386.rpm

x86_64:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-5.0.77-4.el5_5.3.x86_64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:

i386:
mysql-bench-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-server-5.0.77-4.el5_5.3.i386.rpm
mysql-test-5.0.77-4.el5_5.3.i386.rpm

x86_64:
mysql-bench-5.0.77-4.el5_5.3.x86_64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.x86_64.rpm
mysql-server-5.0.77-4.el5_5.3.x86_64.rpm
mysql-test-5.0.77-4.el5_5.3.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:

i386:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-bench-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-server-5.0.77-4.el5_5.3.i386.rpm
mysql-test-5.0.77-4.el5_5.3.i386.rpm

ia64:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-5.0.77-4.el5_5.3.ia64.rpm
mysql-bench-5.0.77-4.el5_5.3.ia64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.ia64.rpm
mysql-devel-5.0.77-4.el5_5.3.ia64.rpm
mysql-server-5.0.77-4.el5_5.3.ia64.rpm
mysql-test-5.0.77-4.el5_5.3.ia64.rpm

ppc:
mysql-5.0.77-4.el5_5.3.ppc.rpm
mysql-5.0.77-4.el5_5.3.ppc64.rpm
mysql-bench-5.0.77-4.el5_5.3.ppc.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.ppc.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.ppc64.rpm
mysql-devel-5.0.77-4.el5_5.3.ppc.rpm
mysql-devel-5.0.77-4.el5_5.3.ppc64.rpm
mysql-server-5.0.77-4.el5_5.3.ppc.rpm
mysql-server-5.0.77-4.el5_5.3.ppc64.rpm
mysql-test-5.0.77-4.el5_5.3.ppc.rpm

s390x:
mysql-5.0.77-4.el5_5.3.s390.rpm
mysql-5.0.77-4.el5_5.3.s390x.rpm
mysql-bench-5.0.77-4.el5_5.3.s390x.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.s390.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.s390x.rpm
mysql-devel-5.0.77-4.el5_5.3.s390.rpm
mysql-devel-5.0.77-4.el5_5.3.s390x.rpm
mysql-server-5.0.77-4.el5_5.3.s390x.rpm
mysql-test-5.0.77-4.el5_5.3.s390x.rpm

x86_64:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-5.0.77-4.el5_5.3.x86_64.rpm
mysql-bench-5.0.77-4.el5_5.3.x86_64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.x86_64.rpm
mysql-server-5.0.77-4.el5_5.3.x86_64.rpm
mysql-test-5.0.77-4.el5_5.3.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-1626.html
https://www.redhat.com/security/data/cve/CVE-2010-1848.html
https://www.redhat.com/security/data/cve/CVE-2010-1850.html
http://www.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.

Red Hat: 2010:0442-01: mysql: Important Advisory

Updated mysql packages that fix three security issues are now available for Red Hat Enterprise Linux 5

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.
A buffer overflow flaw was found in the way MySQL handled the parameters of the MySQL COM_FIELD_LIST network protocol command (this command is sent when a client uses the MySQL mysql_list_fields() client library function). An authenticated database user could send a request with an excessively long table name to cause a temporary denial of service (mysqld crash) or, potentially, execute arbitrary code with the privileges of the database server. (CVE-2010-1850)
A directory traversal flaw was found in the way MySQL handled the parameters of the MySQL COM_FIELD_LIST network protocol command. An authenticated database user could use this flaw to obtain descriptions of the fields of an arbitrary table using a request with a specially-crafted table name. (CVE-2010-1848)
A flaw was discovered in the way MySQL handled symbolic links to tables created using the DATA DIRECTORY and INDEX DIRECTORY directives in CREATE TABLE statements. An attacker with CREATE and DROP table privileges, and shell access to the database server, could use this flaw to remove data and index files of tables created by other database users using the MyISAM storage engine. (CVE-2010-1626)
All MySQL users are advised to upgrade to these updated packages, which contain backported patches to resolve these issues. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically.



Summary


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

References

https://www.redhat.com/security/data/cve/CVE-2010-1626.html https://www.redhat.com/security/data/cve/CVE-2010-1848.html https://www.redhat.com/security/data/cve/CVE-2010-1850.html http://www.redhat.com/security/updates/classification/#important

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386: mysql-5.0.77-4.el5_5.3.i386.rpm mysql-bench-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-devel-5.0.77-4.el5_5.3.i386.rpm mysql-server-5.0.77-4.el5_5.3.i386.rpm mysql-test-5.0.77-4.el5_5.3.i386.rpm
x86_64: mysql-5.0.77-4.el5_5.3.i386.rpm mysql-5.0.77-4.el5_5.3.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm
RHEL Desktop Workstation (v. 5 client):
Source:
i386: mysql-bench-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-devel-5.0.77-4.el5_5.3.i386.rpm mysql-server-5.0.77-4.el5_5.3.i386.rpm mysql-test-5.0.77-4.el5_5.3.i386.rpm
x86_64: mysql-bench-5.0.77-4.el5_5.3.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm mysql-devel-5.0.77-4.el5_5.3.i386.rpm mysql-devel-5.0.77-4.el5_5.3.x86_64.rpm mysql-server-5.0.77-4.el5_5.3.x86_64.rpm mysql-test-5.0.77-4.el5_5.3.x86_64.rpm
Red Hat Enterprise Linux (v. 5 server):
Source:
i386: mysql-5.0.77-4.el5_5.3.i386.rpm mysql-bench-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-devel-5.0.77-4.el5_5.3.i386.rpm mysql-server-5.0.77-4.el5_5.3.i386.rpm mysql-test-5.0.77-4.el5_5.3.i386.rpm
ia64: mysql-5.0.77-4.el5_5.3.i386.rpm mysql-5.0.77-4.el5_5.3.ia64.rpm mysql-bench-5.0.77-4.el5_5.3.ia64.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.ia64.rpm mysql-devel-5.0.77-4.el5_5.3.ia64.rpm mysql-server-5.0.77-4.el5_5.3.ia64.rpm mysql-test-5.0.77-4.el5_5.3.ia64.rpm
ppc: mysql-5.0.77-4.el5_5.3.ppc.rpm mysql-5.0.77-4.el5_5.3.ppc64.rpm mysql-bench-5.0.77-4.el5_5.3.ppc.rpm mysql-debuginfo-5.0.77-4.el5_5.3.ppc.rpm mysql-debuginfo-5.0.77-4.el5_5.3.ppc64.rpm mysql-devel-5.0.77-4.el5_5.3.ppc.rpm mysql-devel-5.0.77-4.el5_5.3.ppc64.rpm mysql-server-5.0.77-4.el5_5.3.ppc.rpm mysql-server-5.0.77-4.el5_5.3.ppc64.rpm mysql-test-5.0.77-4.el5_5.3.ppc.rpm
s390x: mysql-5.0.77-4.el5_5.3.s390.rpm mysql-5.0.77-4.el5_5.3.s390x.rpm mysql-bench-5.0.77-4.el5_5.3.s390x.rpm mysql-debuginfo-5.0.77-4.el5_5.3.s390.rpm mysql-debuginfo-5.0.77-4.el5_5.3.s390x.rpm mysql-devel-5.0.77-4.el5_5.3.s390.rpm mysql-devel-5.0.77-4.el5_5.3.s390x.rpm mysql-server-5.0.77-4.el5_5.3.s390x.rpm mysql-test-5.0.77-4.el5_5.3.s390x.rpm
x86_64: mysql-5.0.77-4.el5_5.3.i386.rpm mysql-5.0.77-4.el5_5.3.x86_64.rpm mysql-bench-5.0.77-4.el5_5.3.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm mysql-devel-5.0.77-4.el5_5.3.i386.rpm mysql-devel-5.0.77-4.el5_5.3.x86_64.rpm mysql-server-5.0.77-4.el5_5.3.x86_64.rpm mysql-test-5.0.77-4.el5_5.3.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package


Severity
Advisory ID: RHSA-2010:0442-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2010:0442.html
Issued Date: : 2010-05-26
CVE Names: CVE-2010-1626 CVE-2010-1848 CVE-2010-1850

Topic

Updated mysql packages that fix three security issues are now available forRed Hat Enterprise Linux 5.The Red Hat Security Response Team has rated this update as havingimportant security impact. Common Vulnerability Scoring System (CVSS) basescores, which give detailed severity ratings, are available for eachvulnerability from the CVE links in the References section.


Topic


 

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

553648 - CVE-2010-1626 mysql: table destruction via DATA/INDEX DIRECTORY directives using symlinks

592079 - CVE-2010-1848 mysql: multiple insufficient table name checks

592091 - CVE-2010-1850 mysql: COM_FIELD_LIST table name buffer overflow


Related News