Skip to content

GHSA-jp57-9j37-5476 CVE-2013-2506

spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles

Medium RubyGems
Severity
Medium
The publisher's own rating, not a CVSS score
Exploit chance (EPSS)
1.26%
Chance of exploitation in the next 30 days. Higher than 69.73% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
—
Not classified
Fix
3.0.5
Upgrade spree_auth_devise to this version or later

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.

Affected versions

RubyGems

PackageVulnerableFixed in
spree_auth_devise
>= 1.0.0, < 3.0.5
3.0.5

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

spree_auth_devise RubyGems → 3.0.5

bundler
bundle update spree_auth_devise # Gemfile: gem "spree_auth_devise", ">= 3.0.5"

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-26xx-m4q2-xhq8
Spree Auth Devise vulnerability allows for authentication bypass through CSRF weakness
Critical Also affects spree_auth_devise
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor