Improper Authentication Affecting mysql55-embedded package, versions <0:5.5.24-1.24.amzn1


Severity

Recommended
0.0
high
0
10

Based on Amazon 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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-MYSQL55EMBEDDED-1664612
  • published27 Sept 2021
  • disclosed26 Jun 2012

Introduced: 26 Jun 2012

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

How to fix?

Upgrade Amazon-Linux:2018.03 mysql55-embedded to version 0:5.5.24-1.24.amzn1 or higher.
This issue was patched in ALAS-2012-93.

NVD Description

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