devise_invitable is vulnerable to Improper Authentication
74
CVE Score
High
Improper Authentication
Before the fix, build_resource in DeviseInvitable::RegistrationsController matched a direct Devise sign-up email to an existing invited, passwordless placeholder record, copied the submitted password onto it, and called accept_invitation, consuming the invitation without its token. An unauthenticated visitor who knew an invited user's email could then sign in as that account, unless Devise's :confirmable sent a confirmation email first. This required an app using the invitable module with registerable sign-up enabled and a pending invitation. The fix separates direct registration from invitation acceptance and blocks pending placeholders from authenticating.
Upgrade the devise_invitable package to 3.0.0 or later.
You are affected if you are using a version that falls within the vulnerable range and enable Devise's registerable sign-up with the invitable module and have a pending invitation for an email an unauthenticated visitor knows.
1.1.3 - 2.0.14
Fixed in 3.0.0devise_invitable is vulnerable to Improper Authentication in versions 1.1.3 - 2.0.14.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.