ash_authentication is vulnerable to Authentication Bypass
91
Critical Risk
In ash_authentication, require_confirmed_with is not enforced on the action and fails open on an unreadable attribute in AshAuthentication. AshAuthentication.Strategy.Password.Actions.check_user/2 decides whether the attribute named by require_confirmed_with is set using a bare is_nil(Map.get(user, value)). When that attribute is not selected on the loaded record Map.get/2 returns %Ash.NotLoaded{}, and when a field policy denies it for the current actor it returns %Ash.ForbiddenField{}.
You are affected if you are using a version that falls within the vulnerable range.
ash_authentication is vulnerable to Authentication Bypass in versions 4.3.8 - 4.14.2.
Upgrade the ash_authentication library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.