Improper Authentication Affecting mysql package, versions [,5.1.63)[5.5.0, 5.5.24)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MYSQL-2334185
  • published12 Jan 2022
  • disclosed26 Jun 2012
  • creditUnknown

Introduced: 26 Jun 2012

CVE-2012-2122  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade mysql to version 5.1.63, 5.5.24 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication 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