CVE-2012-2122

UnknownEPSS 96.19%

Last modified

CVE-2012-2122 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 96.19% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
96.19%

99.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OracleMysql5.1.51
OracleMysql5.1.52
OracleMysql5.1.53
OracleMysql5.1.54
OracleMysql5.1.55
OracleMysql5.1.56
OracleMysql5.1.57
OracleMysql5.1.58
OracleMysql5.1.59
OracleMysql5.1.60
OracleMysql5.1.61
OracleMysql5.5.10
OracleMysql5.5.11
OracleMysql5.5.12
OracleMysql5.5.13
OracleMysql5.5.14
OracleMysql5.5.15
OracleMysql5.5.16
OracleMysql5.5.17
OracleMysql5.5.18
OracleMysql5.5.19
OracleMysql5.5.20
OracleMysql5.5.21
OracleMysql5.6.2
OracleMysql5.6.3
OracleMysql5.6.4
OracleMysql5.6.5
MariadbMariadb5.1.41
MariadbMariadb5.1.42
MariadbMariadb5.1.44
MariadbMariadb5.1.47
MariadbMariadb5.1.49
MariadbMariadb5.1.50
MariadbMariadb5.1.51
MariadbMariadb5.1.53
MariadbMariadb5.1.55
MariadbMariadb5.1.60
MariadbMariadb5.1.61
MariadbMariadb5.2.0
MariadbMariadb5.2.1
MariadbMariadb5.2.2
MariadbMariadb5.2.3
MariadbMariadb5.2.4
MariadbMariadb5.2.5
MariadbMariadb5.2.6
MariadbMariadb5.2.7
MariadbMariadb5.2.8
MariadbMariadb5.2.9
MariadbMariadb5.2.10
MariadbMariadb5.2.11

Showing 50 of 60 affected configurations. See NVD for the full list.

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2012-2122?
Severity scoring for CVE-2012-2122 is pending analysis. The EPSS model estimates a 96.19% probability of exploitation in the next 30 days.
How do I fix CVE-2012-2122?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2012-2122?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST