CVE-2021-41274 json
Authentication Bypass by CSRF Weakness
published 4y ago modified 4mo ago also GHSA-xm34-v85h-9pg2 , EUVD-2021-2414
- cvss
- 9.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
solidus_auth_devise provides authentication services for the Solidus webstore framework, using the Devise gem. In affected versions solidus_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `solidus_auth_devise` are affected if `protect_from_forgery` method is both: Executed whether as: A `before_action` callback (the default) or A `prepend_before_action` (option `prepend: true` given) before the `:load_object` hook in `Spree::UserController` (most likely order to find). Configured to use `:null_session` or `:reset_session` strategies (`:null_session` is the default in case the no strategy is given, but `rails --new` generated skeleton use `:exception`). Users should promptly update to `solidus_auth_devise` version `2.5.4`. Users unable to update should if possible, change their strategy to `:exception`. Please see the linked GHSA for more workaround details.
Patch / fix
- rubygems solidus_auth_devise 2.5.4
- nebulab solidus_auth_devise 2.5.4
Is CVE-2021-41274 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
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | solidus_auth_devise | >=1.0.0, <2.5.4 |
2.5.4 |
Affected products
- solidusio solidus_auth_devise
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/solidusio/solidus_auth_devise/commit/731a6645e90ea9fd228f78ec53c6976c048a0555
web, patch, third-party-advisory
-
github.com
/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41274
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/solidus_auth_devise/CVE-2021-41274.yml
web
-
github.com
/solidusio/solidus_auth_devise
package
-
github.com
/solidusio/solidus_auth_devise/releases/tag/v2.5.4
web
Sources
- CVE List CVE-2021-41274
- GitHub Advisory GHSA-xm34-v85h-9pg2
- NVD CVE-2021-41274
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.