{"id":"CVE-2021-41274","details":"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.","aliases":["GHSA-xm34-v85h-9pg2"],"modified":"2026-07-09T14:06:13.868818Z","published":"2021-11-17T20:15:10.463Z","references":[{"type":"FIX","url":"https://github.com/solidusio/solidus_auth_devise/commit/731a6645e90ea9fd228f78ec53c6976c048a0555"},{"type":"EVIDENCE","url":"https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/solidusio/solidus_auth_devise","events":[{"introduced":"32496f9875de6b773522c306fd2501c12c08d08f"},{"fixed":"b02f89132758be58c215128e80decf96f103d55f"},{"fixed":"731a6645e90ea9fd228f78ec53c6976c048a0555"}],"database_specific":{"cpe":"cpe:2.3:a:nebulab:solidus_auth_devise:*:*:*:*:*:ruby:*:*","extracted_events":[{"introduced":"1.0.0"},{"fixed":"2.5.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v1.6.4","v2.0.0","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.3","v1.2.2","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41274.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}