setPassword() does not have access control so anyway can call it to overwrite the password.
The setPassword() lacks access control:
Therefore anyone can call this function to overwrite the password with his/her own password.
Password can be overwritten by anyone.
Manual review
Add access control:
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.