app/models/spree/user.rb
in spree_auth_devise in Spree 1.1.x before 1.1.6, 1.2.x, and 1.3.x does not perform mass assignment safely when updating a user, which allows remote authenticated users to assign arbitrary roles to themselves.
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-2506
- https://github.com/spree/spree_auth_devise/commit/038d74771d3b5c13d13b738b73dfda1033a99f65
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- https://github.com/spree/spree_auth_devise/commit/fda3ab9fb536c64fe18a9b78bb21c6176b3ea24d
- https://web.archive.org/web/20131207040639/https://rubygems.org/gems/spree_auth_devise/versions
- https://github.com/advisories/GHSA-jp57-9j37-5476