ALAS-2012-093

Related Vulnerabilities: CVE-2012-2122  

sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x before 5.1.62, 5.2.x before 5.2.12, 5.3.x before 5.3.6, and 5.5.x before 5.5.23, when running in certain environments with certain implementations of the memcmp function, allows remote attackers to bypass authentication by repeatedly authenticating with the same incorrect password, which eventually causes a token comparison to succeed due to an improperly-checked return value.

ALAS-2012-093


Amazon Linux AMI Security Advisory: ALAS-2012-93
Advisory Release Date: 2012-07-05 16:07 Pacific
Advisory Updated Date: 2014-09-14 16:23 Pacific
Severity: Important
References: CVE-2012-2122 

Issue Overview:

sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x before 5.1.62, 5.2.x before 5.2.12, 5.3.x before 5.3.6, and 5.5.x before 5.5.23, when running in certain environments with certain implementations of the memcmp function, allows remote attackers to bypass authentication by repeatedly authenticating with the same incorrect password, which eventually causes a token comparison to succeed due to an improperly-checked return value.


Affected Packages:

mysql55


Issue Correction:
Run yum update mysql55 to update your system.

New Packages:
i686:
    mysql55-embedded-devel-5.5.24-1.24.amzn1.i686
    mysql55-debuginfo-5.5.24-1.24.amzn1.i686
    mysql55-server-5.5.24-1.24.amzn1.i686
    mysql55-common-5.5.24-1.24.amzn1.i686
    mysql55-test-5.5.24-1.24.amzn1.i686
    mysql55-embedded-5.5.24-1.24.amzn1.i686
    mysql55-bench-5.5.24-1.24.amzn1.i686
    mysql55-libs-5.5.24-1.24.amzn1.i686
    mysql55-5.5.24-1.24.amzn1.i686
    mysql55-devel-5.5.24-1.24.amzn1.i686

src:
    mysql55-5.5.24-1.24.amzn1.src

x86_64:
    mysql55-libs-5.5.24-1.24.amzn1.x86_64
    mysql55-test-5.5.24-1.24.amzn1.x86_64
    mysql55-embedded-devel-5.5.24-1.24.amzn1.x86_64
    mysql55-debuginfo-5.5.24-1.24.amzn1.x86_64
    mysql55-bench-5.5.24-1.24.amzn1.x86_64
    mysql55-common-5.5.24-1.24.amzn1.x86_64
    mysql55-5.5.24-1.24.amzn1.x86_64
    mysql55-devel-5.5.24-1.24.amzn1.x86_64
    mysql55-server-5.5.24-1.24.amzn1.x86_64
    mysql55-embedded-5.5.24-1.24.amzn1.x86_64