Incorrect Type Conversion or Cast Affecting mysql-libs package, versions <0:5.1.66-1.el6_3


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
95.7% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-MYSQLLIBS-2066231
  • published26 Jul 2021
  • disclosed9 Jun 2012

Introduced: 9 Jun 2012

CVE-2012-2122  (opens in a new tab)
CWE-704  (opens in a new tab)
CWE-393  (opens in a new tab)
CWE-305  (opens in a new tab)

How to fix?

Upgrade Centos:6 mysql-libs to version 0:5.1.66-1.el6_3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql-libs package and not the mysql-libs package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Scores

version 3.1