Issued:
2013-01-22
Updated:
2013-01-22

RHSA-2013:0180 - Important: mysql security update


Synopsis

Important: mysql security update

Type/Severity

Security Advisory Important

Topic

Updated mysql packages that fix two 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.

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 stack-based buffer overflow flaw was found in the user permission checking code in MySQL. An authenticated database user could use this flaw to crash the mysqld daemon or, potentially, execute arbitrary code with the privileges of the user running the mysqld daemon. (CVE-2012-5611)

A flaw was found in the way MySQL calculated the key length when creating a sort order index for certain queries. An authenticated database user could use this flaw to crash the mysqld daemon. (CVE-2012-2749)

This update also adds a patch for a potential flaw in the MySQL password checking function, which could allow an attacker to log into any MySQL account without knowing the correct password. This problem (CVE-2012-2122) only affected MySQL packages that use a certain compiler and C library optimization. It did not affect the mysql packages in Red Hat Enterprise Linux 5. The patch is being added as a preventive measure to ensure this problem cannot get exposed in future revisions of the mysql packages. (BZ#814605)

All MySQL users should upgrade to these updated packages, which correct these issues. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically.

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 https://access.redhat.com/knowledge/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Extended Update Support5.9x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support5.9ia64
Red Hat Enterprise Linux for x86_64 - Extended Update Support5.9i386
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for Power, big endian - Extended Update Support5.9ppc
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support5.9s390x
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Server - Extended Update Support from RHUI5.9x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI5.9i386
Red Hat Enterprise Linux Server - AUS5.9x86_64
Red Hat Enterprise Linux Server - AUS5.9ia64
Red Hat Enterprise Linux Server - AUS5.9i386
Red Hat Enterprise Linux Desktop5x86_64
Red Hat Enterprise Linux Desktop5i386

Updated Packages

  • mysql-5.0.95-5.el5_9.x86_64.rpm
  • mysql-server-5.0.95-5.el5_9.ppc64.rpm
  • mysql-5.0.95-5.el5_9.src.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.s390.rpm
  • mysql-bench-5.0.95-5.el5_9.ppc.rpm
  • mysql-devel-5.0.95-5.el5_9.x86_64.rpm
  • mysql-5.0.95-5.el5_9.ppc64.rpm
  • mysql-bench-5.0.95-5.el5_9.ia64.rpm
  • mysql-test-5.0.95-5.el5_9.ia64.rpm
  • mysql-5.0.95-5.el5_9.i386.rpm
  • mysql-devel-5.0.95-5.el5_9.s390.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.ia64.rpm
  • mysql-devel-5.0.95-5.el5_9.i386.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.i386.rpm
  • mysql-devel-5.0.95-5.el5_9.ppc64.rpm
  • mysql-server-5.0.95-5.el5_9.x86_64.rpm
  • mysql-server-5.0.95-5.el5_9.s390x.rpm
  • mysql-test-5.0.95-5.el5_9.s390x.rpm
  • mysql-5.0.95-5.el5_9.ppc.rpm
  • mysql-devel-5.0.95-5.el5_9.s390x.rpm
  • mysql-bench-5.0.95-5.el5_9.i386.rpm
  • mysql-5.0.95-5.el5_9.ia64.rpm
  • mysql-test-5.0.95-5.el5_9.i386.rpm
  • mysql-5.0.95-5.el5_9.s390x.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.x86_64.rpm
  • mysql-server-5.0.95-5.el5_9.ppc.rpm
  • mysql-5.0.95-5.el5_9.s390.rpm
  • mysql-devel-5.0.95-5.el5_9.ia64.rpm
  • mysql-server-5.0.95-5.el5_9.i386.rpm
  • mysql-bench-5.0.95-5.el5_9.x86_64.rpm
  • mysql-devel-5.0.95-5.el5_9.ppc.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.ppc64.rpm
  • mysql-test-5.0.95-5.el5_9.ppc.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.ppc.rpm
  • mysql-bench-5.0.95-5.el5_9.s390x.rpm
  • mysql-server-5.0.95-5.el5_9.ia64.rpm
  • mysql-test-5.0.95-5.el5_9.x86_64.rpm
  • mysql-debuginfo-5.0.95-5.el5_9.s390x.rpm

Fixes

CVEs

References


Additional information