Issued:
2006-06-09
Updated:
2006-06-08

RHSA-2006:0544 - mysql security update


Synopsis

mysql security update

Type/Severity

Security Advisory Important

Topic

Updated mysql packages that fix multiple security flaws are now available.

This update has been rated as having important security impact by the Red Hat Security Response Team.

Description

MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server implementation consisting of a server daemon (mysqld) and many different client programs and libraries.

A flaw was found in the way the MySQL mysql_real_escape() function escaped strings when operating in a multibyte character encoding. An attacker could provide an application a carefully crafted string containing invalidly-encoded characters which may be improperly escaped, leading to the injection of malicious SQL commands. (CVE-2006-2753)

An information disclosure flaw was found in the way the MySQL server processed malformed usernames. An attacker could view a small portion of server memory by supplying an anonymous login username which was not null terminated. (CVE-2006-1516)

An information disclosure flaw was found in the way the MySQL server executed the COM_TABLE_DUMP command. An authenticated malicious user could send a specially crafted packet to the MySQL server which returned random unallocated memory. (CVE-2006-1517)

A log file obfuscation flaw was found in the way the mysql_real_query() function creates log file entries. An attacker with the the ability to call the mysql_real_query() function against a mysql server can obfuscate the entry the server will write to the log file. However, an attacker needed to have complete control over a server in order to attempt this attack. (CVE-2006-0903)

This update also fixes numerous non-security-related flaws, such as intermittent authentication failures.

All users of mysql are advised to upgrade to these updated packages containing MySQL version 4.1.20, which is not vulnerable to these issues.

Solution

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

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.

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Power, big endian4ppc
Red Hat Enterprise Linux for IBM z Systems4s390x
Red Hat Enterprise Linux for IBM z Systems4s390
Red Hat Enterprise Linux Workstation4x86_64
Red Hat Enterprise Linux Workstation4ia64
Red Hat Enterprise Linux Workstation4i386
Red Hat Enterprise Linux Server4x86_64
Red Hat Enterprise Linux Server4ia64
Red Hat Enterprise Linux Server4i386
Red Hat Enterprise Linux Desktop4x86_64
Red Hat Enterprise Linux Desktop4i386

Updated Packages

  • mysql-4.1.20-1.RHEL4.1.ppc64.rpm
  • mysql-server-4.1.20-1.RHEL4.1.s390.rpm
  • mysql-server-4.1.20-1.RHEL4.1.ia64.rpm
  • mysql-devel-4.1.20-1.RHEL4.1.s390.rpm
  • mysql-bench-4.1.20-1.RHEL4.1.s390x.rpm
  • mysql-4.1.20-1.RHEL4.1.s390.rpm
  • mysql-devel-4.1.20-1.RHEL4.1.s390x.rpm
  • mysql-4.1.20-1.RHEL4.1.src.rpm
  • mysql-bench-4.1.20-1.RHEL4.1.ia64.rpm
  • mysql-devel-4.1.20-1.RHEL4.1.ia64.rpm
  • mysql-bench-4.1.20-1.RHEL4.1.ppc.rpm
  • mysql-server-4.1.20-1.RHEL4.1.ppc.rpm
  • mysql-bench-4.1.20-1.RHEL4.1.i386.rpm
  • mysql-server-4.1.20-1.RHEL4.1.s390x.rpm
  • mysql-devel-4.1.20-1.RHEL4.1.ppc.rpm
  • mysql-4.1.20-1.RHEL4.1.s390x.rpm
  • mysql-4.1.20-1.RHEL4.1.i386.rpm
  • mysql-devel-4.1.20-1.RHEL4.1.x86_64.rpm
  • mysql-4.1.20-1.RHEL4.1.ppc.rpm
  • mysql-server-4.1.20-1.RHEL4.1.x86_64.rpm
  • mysql-bench-4.1.20-1.RHEL4.1.s390.rpm
  • mysql-4.1.20-1.RHEL4.1.x86_64.rpm
  • mysql-bench-4.1.20-1.RHEL4.1.x86_64.rpm
  • mysql-4.1.20-1.RHEL4.1.ia64.rpm
  • mysql-server-4.1.20-1.RHEL4.1.i386.rpm
  • mysql-devel-4.1.20-1.RHEL4.1.i386.rpm

Fixes

CVEs

References


Additional information