Lack of access control for setPassword().
setPassword() does not check for who the message sender is, therefore anyone can call this function and override the currently stored password.
Anyone can call setPassword() and override the password that the owner saved, causing the owner to lose his/her password.
Manual review
Add access control to setPassword(), change the function to:
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.