MariaDB contains a flaw that is triggered when a users connects to MariaDB and a randomly generated token is calculated and then compared with an expected value. Due to a failure in casting it is possible that the values are seen as equal even if the memcmp() function returns a zero value. This will tell the program that the password is correct, when it is not. Due to the protocol generating random strings this may allow an attacker to bypass password authentication with a 1/256 chance of success.
Local / Remote
Loss of Integrity
Upgrade to version 5.1.62, 5.2.12, 5.3.6, 5.5.23 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.
The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO
warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright
holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.