Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Red Hat Linux Advisory: MySQL

Apr 29, 2003, 21:53 (0 Talkback[s])

---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated MySQL packages fix vulnerabilities
Advisory ID:       RHSA-2003:093-01
Issue date:        2003-04-29
Updated on:        2003-04-29
Product:           Red Hat Linux
Keywords:          
Cross references:  
Obsoletes:         RHSA-2002:288
CVE Names:         CAN-2003-0073 CAN-2003-0150
---------------------------------------------------------------------

1. Topic:

Updated MySQL server packages fix both a double-free security
vulnerability and a root exploit security vulnerability.

2. Relevant releases/architectures:

Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386

3. Problem description:

MySQL is a multi-user, multi-threaded SQL database server.

A double-free vulnerability in mysqld, for MySQL before version 3.23.55,
allows attackers with MySQL access to cause a denial of service (crash) by
creating a carefully crafted client application. The Common
Vulnerabilities and Exposures project (cve.mitre.org/) has assigned the name
CAN-2003-0073 to this issue.

MySQL 3.23.55 and earlier creates world-writable files and allows mysql
users to gain root privileges by using the "SELECT * INFO OUTFILE" operator
to overwrite a configuration file and cause mysql to run as root upon
restart. The Common Vulnerabilities and Exposures project (cve.mitre.org/)
has assigned the name CAN-2003-0150 to this issue.

All users are advised to upgrade to MySQL 3.23.56 contained within this
errata which is not vulnerable to these issues.

In addition to the security fixes, these erratum packages contain a
thread safe client library (libmysqlclient_r).

4. Solution:

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

Please note that this update is available via Red Hat Network.  To use Red
Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

85898 - double-free vulnerability in mysqld < 3.23.55
85971 - possible root exploit in mysqld startup
77662 - mysql RPM's do not provide a thread safe library

6. RPMs required:

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/mysql-3.23.56-1.71.src.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/mysql-3.23.56-1.71.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/mysql-server-3.23.56-1.71.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/mysql-devel-3.23.56-1.71.i386.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/mysql-3.23.56-1.72.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/mysql-3.23.56-1.72.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/mysql-server-3.23.56-1.72.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/mysql-devel-3.23.56-1.72.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/mysql-3.23.56-1.72.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/mysql-server-3.23.56-1.72.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/mysql-devel-3.23.56-1.72.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/mysql-3.23.56-1.73.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/mysql-3.23.56-1.73.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/mysql-server-3.23.56-1.73.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/mysql-devel-3.23.56-1.73.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/mysql-3.23.56-1.80.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/mysql-3.23.56-1.80.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/mysql-server-3.23.56-1.80.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/mysql-devel-3.23.56-1.80.i386.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
e7487478940f7fb152bd94dce219a99b 7.1/en/os/SRPMS/mysql-3.23.56-1.71.src.rpm
7f913c1ef0ad361fba8938270a93c474 7.1/en/os/i386/mysql-3.23.56-1.71.i386.rpm
31f5618bb189b0520083210bbc19cdfb 7.1/en/os/i386/mysql-devel-3.23.56-1.71.i386.rpm
9b1ba658cf7695f7fb626581ad3e700f 7.1/en/os/i386/mysql-server-3.23.56-1.71.i386.rpm
54f783324c224840fe7ea702fe628ec2 7.2/en/os/SRPMS/mysql-3.23.56-1.72.src.rpm
d1efdb7796e0444302ee3f426ca06c85 7.2/en/os/i386/mysql-3.23.56-1.72.i386.rpm
9b77319f6ecc7e5431efc99e7a291334 7.2/en/os/i386/mysql-devel-3.23.56-1.72.i386.rpm
ef3c7d3e1bfe3b835ee07b8d2eda7e21 7.2/en/os/i386/mysql-server-3.23.56-1.72.i386.rpm
fcdac19a133fcf7feb34e06877ed1242 7.2/en/os/ia64/mysql-3.23.56-1.72.ia64.rpm
6d5ed02bee3fe571275b5053cebc6c94 7.2/en/os/ia64/mysql-devel-3.23.56-1.72.ia64.rpm
19737a4c7f39bd37fbd73d0388d2c847 7.2/en/os/ia64/mysql-server-3.23.56-1.72.ia64.rpm
ab0e0b34299f786e032e0aa885c046d0 7.3/en/os/SRPMS/mysql-3.23.56-1.73.src.rpm
7024c33fbdd861d28733d549d29e5d12 7.3/en/os/i386/mysql-3.23.56-1.73.i386.rpm
2d9a1b8f6dcc9d336071ec5b889404a6 7.3/en/os/i386/mysql-devel-3.23.56-1.73.i386.rpm
fb5615fe718df6410a3382d892a56b4c 7.3/en/os/i386/mysql-server-3.23.56-1.73.i386.rpm
345bdf55ad90f9d00e771e464c4830c7 8.0/en/os/SRPMS/mysql-3.23.56-1.80.src.rpm
9b339a91222cdbb941c1cbf0d107f10a 8.0/en/os/i386/mysql-3.23.56-1.80.i386.rpm
618b4be6bf5744c9cb44c2f008bc2e76 8.0/en/os/i386/mysql-devel-3.23.56-1.80.i386.rpm
3e0f97fd1a0c1472869b5c390c775163 8.0/en/os/i386/mysql-server-3.23.56-1.80.i386.rpm


These packages are GPG signed by Red Hat for security.  Our key is
available at http://www.redhat.com/solutions/security/news/publickey/

You can verify each package with the following command:
    
    rpm --checksig -v 

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum 


8. References:

http://www.mysql.com/doc/en/News-3.23.55.html
http://www.mysql.com/doc/en/News-3.23.56.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0073
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0150

9. Contact:

The Red Hat security contact is <<A HREF="mailto:security@redhat.com">security@redhat.com>.  More contact
details at http://www.redhat.com/solutions/security/news/contact/

Copyright 2003 Red Hat, Inc.