Information
Users should be prevented from reusing past passwords when performing mandatory password changes.
Allowing users to reuse past passwords circumvents the purpose of password rotation and exposes the account to risk of password attacks with previously compromised passwords.
Solution
Ensure the following entries are present in your MariaDB configuration file, adding them and then restarting MariaDB if necessary.
plugin_load_add = password_reuse_check
password_reuse_check = FORCE_PLUS_PERMANENT
strict_password_validation = ON
Impact:
Users will not be able to change their passwords to one of their previously used passwords.