CVE-2013-2506 json
spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles
published 13y ago modified 4mo ago also GHSA-jp57-9j37-5476 , EUVD-2022-4406
- cvss
- 4.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems spree_auth_devise 3.0.5
Is CVE-2013-2506 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | spree_auth_devise | >=1.0.0, <3.0.5 |
3.0.5 |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
github.com
/spree/spree_auth_devise/commit/038d74771d3b5c13d13b738b73dfda1033a99f65
web
-
github.com
/spree/spree_auth_devise/commit/fda3ab9fb536c64fe18a9b78bb21c6176b3ea24d
web
-
spreecommerce.com
/blog/multiple-security-vulnerabilities-fixed
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2013-2506
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/spree_auth/CVE-2013-2506.yml
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/spree_auth_devise/CVE-2013-2506.yml
web
-
github.com
/spree/spree_auth_devise
package
-
web.archive.org
/web/20131207040639/https://rubygems.org/gems/spree_auth_devise/versions
web
-
web.archive.org
/web/20160331131233/https://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
web
Sources
- CVE List CVE-2013-2506
- GitHub Advisory GHSA-jp57-9j37-5476
- NVD CVE-2013-2506
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.