CVE-2012-2122
- State
- Published
- Severity
- Not scored
- Published
- Jun 26, 2012
- Updated
- Aug 6, 2024
- Reserved
- Apr 4, 2012
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- http://bugs.mysql.com/bug.php?id=64884
- 53911vdb-entry
- 19092exploit
- 53372third-party-advisory
- GLSA-201308-06vendor-advisory
- SUSE-SU-2012:0984vendor-advisory
- https://community.rapid7.com/community/metasploit/blog/2012/06/11/cve-2012-2122-a-tragically-comedic-security-flaw-in-mysql
- 1027143vdb-entry
- 49417third-party-advisory
- [oss-security] 20120609 Security vulnerability in MySQL/MariaDB sql/password.cmailing-list
- http://kb.askmonty.org/en/mariadb-5162-release-notes/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.