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


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux 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-RHEL6-MYSQL-1448871
  • 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 RHEL:6 mysql to version 0:5.1.66-1.el6_3 or higher.
This issue was patched in RHSA-2012:1462.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql package and not the mysql package as distributed by RHEL. See How to fix? for RHEL: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