{"id":"CVE-2013-2506","aliases":["EUVD-2022-4406","GHSA-jp57-9j37-5476"],"status":"published","title":"spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles","description":"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.","severity":{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01265,"percentile":0.69922,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2013-03-08T18:00:00Z","modified":"2026-06-16T23:53:35Z","fixes":[{"ecosystem":"RubyGems","package":"spree_auth_devise","fixed_in":["3.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"spree_auth_devise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"3.0.5"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"spree_auth_devise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"3.0.5"}]}],"versions":["1.0.0","1.0.1","1.2.0","1.3.1"]}],"products":[{"vendor":"spreecommerce","product":"spree"}],"references":[{"url":"http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://github.com/spree/spree_auth_devise/commit/038d74771d3b5c13d13b738b73dfda1033a99f65","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2506","tags":["advisory"]},{"url":"https://github.com/spree/spree_auth_devise/commit/fda3ab9fb536c64fe18a9b78bb21c6176b3ea24d","tags":["web"]},{"url":"https://web.archive.org/web/20131207040639/https://rubygems.org/gems/spree_auth_devise/versions","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_auth/CVE-2013-2506.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_auth_devise/CVE-2013-2506.yml","tags":["web"]},{"url":"https://web.archive.org/web/20160331131233/https://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jp57-9j37-5476"},{"url":"https://github.com/spree/spree_auth_devise","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-2506","description":"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.","status":"published","published":"2013-03-08T18:00:00Z","modified":"2024-08-06T15:44:32.097Z","updated_at":"2026-11-02T14:34:55.825574Z"}],"euvd":[{"id":"EUVD-2022-4406","description":"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.","status":"published","published":"2013-03-08T18:00:00Z","modified":"2024-08-06T15:44:32Z","updated_at":"2026-11-03T01:56:38.194266Z"}],"ghsa":[{"id":"GHSA-jp57-9j37-5476","title":"spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles","description":"`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.","status":"published","published":"2022-05-17T05:13:40Z","modified":"2023-07-03T21:54:07Z","updated_at":"2026-11-02T14:36:55.91458Z"}],"nvd":[{"id":"CVE-2013-2506","description":"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.","status":"published","published":"2013-03-08T18:55:01.773Z","modified":"2026-06-16T23:53:35.673Z","cvss":[{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"GHSA-jp57-9j37-5476","title":"spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles","description":"`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.","status":"published","published":"2022-05-17T05:13:40Z","modified":"2024-12-07T05:38:59.527116Z","updated_at":"2026-11-02T15:46:50.687609Z"}]}}
