solidus_core is vulnerable to Missing Authorization
72
High Risk
Spree::UserMethods#update_spree_roles selects the roles an admin can grant by calling Spree::Role.accessible_by(ability). That call uses the broadest action granted on Role, not the :manage action. A user with a narrower UserManagement permission on Role can assign any role, including the admin role, to any account and then change any admin's password. The fix calls accessible_by(ability, :manage) so only roles the ability can manage are included.
You are affected if you are using a version that falls within the vulnerable range and you grant any users a role with UserManagement permissions narrower than full :manage access on Role.
solidus_core is vulnerable to Missing Authorization in versions 2.11.0 - 4.6.3 and 4.7.0 - 4.7.1.
Upgrade the solidus_core 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.