-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2013.0101
                     Important: mysql security update
                              23 January 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           mysql
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 5
                   Red Hat Enterprise Linux WS/Desktop 5
Impact/Access:     Denial of Service               -- Existing Account      
                   Execute Arbitrary Code/Commands -- Existing Account      
                   Unauthorised Access             -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-5611 CVE-2012-2749 CVE-2012-2122

Reference:         ASB-2013.0007
                   ASB-2012.0084
                   ESB-2012.1157
                   ESB-2012.1133
                   ESB-2012.1087
                   ESB-2012.0565

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-0180.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Synopsis:          Important: mysql security update
Advisory ID:       RHSA-2013:0180-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-0180.html
Issue date:        2013-01-22
CVE Names:         CVE-2012-2749 CVE-2012-5611 
=====================================================================

1. Summary:

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.

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

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

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

814605 - CVE-2012-2122 mysql: incorrect type cast in check_scramble() leading to authentication bypass
833737 - CVE-2012-2749 mysql: crash caused by wrong calculation of key length for sort order index
881064 - CVE-2012-5611 mysql: acl_get() stack-based buffer overflow

6. Package List:

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

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/mysql-5.0.95-5.el5_9.src.rpm

i386:
mysql-5.0.95-5.el5_9.i386.rpm
mysql-debuginfo-5.0.95-5.el5_9.i386.rpm

x86_64:
mysql-5.0.95-5.el5_9.i386.rpm
mysql-5.0.95-5.el5_9.x86_64.rpm
mysql-debuginfo-5.0.95-5.el5_9.i386.rpm
mysql-debuginfo-5.0.95-5.el5_9.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client-Workstation/en/os/SRPMS/mysql-5.0.95-5.el5_9.src.rpm

i386:
mysql-bench-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.i386.rpm
mysql-server-5.0.95-5.el5_9.i386.rpm
mysql-test-5.0.95-5.el5_9.i386.rpm

x86_64:
mysql-bench-5.0.95-5.el5_9.x86_64.rpm
mysql-debuginfo-5.0.95-5.el5_9.i386.rpm
mysql-debuginfo-5.0.95-5.el5_9.x86_64.rpm
mysql-devel-5.0.95-5.el5_9.i386.rpm
mysql-devel-5.0.95-5.el5_9.x86_64.rpm
mysql-server-5.0.95-5.el5_9.x86_64.rpm
mysql-test-5.0.95-5.el5_9.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/mysql-5.0.95-5.el5_9.src.rpm

i386:
mysql-5.0.95-5.el5_9.i386.rpm
mysql-bench-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.i386.rpm
mysql-server-5.0.95-5.el5_9.i386.rpm
mysql-test-5.0.95-5.el5_9.i386.rpm

ia64:
mysql-5.0.95-5.el5_9.i386.rpm
mysql-5.0.95-5.el5_9.ia64.rpm
mysql-bench-5.0.95-5.el5_9.ia64.rpm
mysql-debuginfo-5.0.95-5.el5_9.i386.rpm
mysql-debuginfo-5.0.95-5.el5_9.ia64.rpm
mysql-devel-5.0.95-5.el5_9.ia64.rpm
mysql-server-5.0.95-5.el5_9.ia64.rpm
mysql-test-5.0.95-5.el5_9.ia64.rpm

ppc:
mysql-5.0.95-5.el5_9.ppc.rpm
mysql-5.0.95-5.el5_9.ppc64.rpm
mysql-bench-5.0.95-5.el5_9.ppc.rpm
mysql-debuginfo-5.0.95-5.el5_9.ppc.rpm
mysql-debuginfo-5.0.95-5.el5_9.ppc64.rpm
mysql-devel-5.0.95-5.el5_9.ppc.rpm
mysql-devel-5.0.95-5.el5_9.ppc64.rpm
mysql-server-5.0.95-5.el5_9.ppc.rpm
mysql-server-5.0.95-5.el5_9.ppc64.rpm
mysql-test-5.0.95-5.el5_9.ppc.rpm

s390x:
mysql-5.0.95-5.el5_9.s390.rpm
mysql-5.0.95-5.el5_9.s390x.rpm
mysql-bench-5.0.95-5.el5_9.s390x.rpm
mysql-debuginfo-5.0.95-5.el5_9.s390.rpm
mysql-debuginfo-5.0.95-5.el5_9.s390x.rpm
mysql-devel-5.0.95-5.el5_9.s390.rpm
mysql-devel-5.0.95-5.el5_9.s390x.rpm
mysql-server-5.0.95-5.el5_9.s390x.rpm
mysql-test-5.0.95-5.el5_9.s390x.rpm

x86_64:
mysql-5.0.95-5.el5_9.i386.rpm
mysql-5.0.95-5.el5_9.x86_64.rpm
mysql-bench-5.0.95-5.el5_9.x86_64.rpm
mysql-debuginfo-5.0.95-5.el5_9.i386.rpm
mysql-debuginfo-5.0.95-5.el5_9.x86_64.rpm
mysql-devel-5.0.95-5.el5_9.i386.rpm
mysql-devel-5.0.95-5.el5_9.x86_64.rpm
mysql-server-5.0.95-5.el5_9.x86_64.rpm
mysql-test-5.0.95-5.el5_9.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://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2012-2749.html
https://www.redhat.com/security/data/cve/CVE-2012-5611.html
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFQ/u9KXlSAg2UNWIIRAkZYAKDD2ZXtDIWDYrmcX/bjYxgb+O6cqwCgrilk
lg8mg0xVB9DV5VZIJ0fMd7Y=
=cxdU
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUP9KgO4yVqjM2NGpAQIRTQ/8CxEd6sFNhjgwbn03BUm4wkVIS+s8YL7r
BeXFebqPkv+1r+0Teqyc1bHR8RmX13jz2Afq4RF9qXbke+L+c1q2+nFUwq21t2PK
k09X9pCse2Olv3pyJxNBiKaGhZyB9ME5Hvw7ZZnQKxE9vqXf2UNNjf3ebTPcQPRW
qAwk30GIE2FULvvV8KwtYKvyLNcrSizbSR9jlYAoW6Ibusp9bLfD/ycneDvdZMkr
SRVWUk8loat26kXRwn2MBFOkDiuHVmlXl8Svh7zdw5cUSLhwqnPYiMZfZ8kCz88b
WFZ1F9UwUB18EanSnOJw6gMlJkkp6XpsgGHKP9x2xiPYaVse7e1TQ+RWB2mjqoft
9ubGMkSnmQTtr31a/GiSZj9btot64vpdhsq2d77JsOfB7WmfYFyOrQP3SSboE+HV
fPmjaz3YXm4GQFuY/D/Ondx1aFf7GwQH2In1NIufrW1e3H5kVn7cysP7VGJ10yGd
YwOoDSxZxnhoBjFL0fVQplnhSCkRVd/TEBbRSba5yJ8c5qikJQGKydqDVD6W2ADe
cpty8XMViy7W5Hn4wcVyCHNrDcVXV0Cw4VHYV/VQfz0cvX2S9aLldnvz+OzAY+C4
kh6XkV3UkcJTRt0V08B+tJOOFx09OWr5pKu44l6oLAeF1u7QQzsr647xTtuT/WKJ
1owXAhou8OY=
=8CTU
-----END PGP SIGNATURE-----