GHSA-5629-8855-gf4g: Solidus core Authentication Bypass Vulnerability
CRITICALGHSA-5629-8855-gf4g is a CRITICAL (CVSS 9.3) authentication bypass vulnerability (CWE-305: Authentication Bypass by Primary Weakness) affecting Solidus core libraries in the RubyGems ecosystem. The issue involves authentication bypass by csrf weakness. Remediation is available by upgrading affected packages to version 2.11.12, 3.0.3, 3.1.3.
GHSA-5629-8855-gf4g at a Glance
Security Impact
CVSS: 9.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N).
How to Fix GHSA-5629-8855-gf4g
To remediate this vulnerability, upgrade all affected Solidus core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade solidus_core to 2.11.12
Upgrade solidus_core to 3.0.3
Upgrade solidus_core to 3.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for solidus_core
How to Check if You Are Affected
To determine whether your application is affected by GHSA-5629-8855-gf4g, inspect your project dependencies for Solidus core:
inspect dependencies for solidus_core
Analyze the terminal output to locate any version of Solidus core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.11.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-305: Authentication Bypass by Primary Weakness, where the authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. In Solidus core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-5629-8855-gf4g Affected Solidus core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
solidus_core
|
RubyGems |
< 2.11.12
|
2.11.12
|
|
solidus_core
|
RubyGems |
≥ 3.0.0
< 3.0.3
|
3.0.3
|
|
solidus_core
|
RubyGems |
≥ 3.1.0
< 3.1.3
|
3.1.3
|
References
Frequently Asked Questions
What is GHSA-5629-8855-gf4g?
Which Solidus core versions are affected?
What version fixes GHSA-5629-8855-gf4g?
Is solidus_core affected?
What is the CVSS score of GHSA-5629-8855-gf4g?
What CWE is associated with GHSA-5629-8855-gf4g?
How can I check RubyGems dependencies for GHSA-5629-8855-gf4g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5629-8855-gf4g",
"modified" : "2021-11-17T21:07:30Z",
"published" : "2021-11-18T20:12:40Z",
"aliases" : [ ],
"summary" : "Authentication Bypass by CSRF Weakness ",
"details" : "### Impact\nThe actual vulnerability has been discovered on `solidus_auth_devise`. See [GHSA-xm34-v85h-9pg2](https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2) for details.\n\nThe security advisory here exists to provide an extra layer of security in the form of a monkey patch for users who don't update `solidus_auth_devise`. For this reason, it has been marked as low impact on this end.\n\n### Patches\nFor extra security, update `solidus_core` to versions `3.1.3`, `3.0.3` or `2.11.12`.\n\n### Workarounds\nLook at the workarounds described at [GHSA-xm34-v85h-9pg2](https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2).\n\n### References\n- [GHSA-xm34-v85h-9pg2](https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [solidus_auth_devise](https://github.com/solidusio/solidus_auth_devise/issues) or a discussion in [solidus](https://github.com/solidusio/solidus/discussions)\n* Email us at [security@solidus.io](mailto:security@soliidus.io)\n* Contact the core team on [Slack](http://slack.solidus.io/)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "solidus_core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.11.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "solidus_core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "solidus_core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/solidusio/solidus/security/advisories/GHSA-5629-8855-gf4g"
}, {
"type" : "WEB",
"url" : "https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/solidusio/solidus"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-305", "CWE-352" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-11-17T21:07:30Z",
"nvd_published_at" : null
}
}