Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Logging in with the user created in the following SQL causes MariaDB to spend excessive time computing the iterations of the password.
-- MariaDB 12.1 or later. Run as a user with the CREATE USER privilege.
|
INSTALL SONAME 'auth_mysql_sha2'; |
CREATE OR REPLACE USER repro@'%' IDENTIFIED VIA caching_sha2_password USING PASSWORD('pw'); |
SET PASSWORD FOR repro = '$A$-01$aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'; |
The configuration setting caching_sha2_password_digest_rounds should limit the iteration count to 0xFFF but the server fails to enforce this for password set via SET PASSWORD.