{"id":"CVE-2021-41274","published":"2021-11-17T19:55:11Z","modified":"2024-08-04T03:08:31Z","title":"Authentication Bypass by CSRF Weakness","vendor":"solidusio","product":"solidus_auth_devise","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00726,"percentile":0.55036,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/solidusio/solidus_auth_devise/commit/731a6645e90ea9fd228f78ec53c6976c048a0555","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":11.01},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"solidusio","affectedVersions":[{"vendor":"solidusio","product":"solidus_auth_devise","versions":[">= 1.0.0, < 2.5.4"]}],"affected":[{"ecosystem":"RubyGems","package":"solidus_auth_devise","vulnerableRanges":[">=1.0.0, <2.5.4"],"patched":["2.5.4"],"from":["GHSA-xm34-v85h-9pg2"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2414","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-solidusio-solidus-auth-devise-cve-2021-41274","children":[{"from":"CVE-2021-41274","to":"CVE-2021-41275","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-26xx-m4q2-xhq8","via":"reference","url":"https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2"}]}]}}