GHSA-5629-8855-gf4g: Solidus core Authentication Bypass Vulnerability

CRITICAL
CVSS 9.3
CWE-305 CWE-352
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-5629-8855-gf4g
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification CWE-305: Authentication Bypass by Primary Weakness
Affected Product Solidus core
Package Ecosystem RubyGems
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

solidus_core fixed: 2.11.12
Upgrade solidus_core to 2.11.12
solidus_core fixed: 3.0.3
Upgrade solidus_core to 3.0.3
solidus_core fixed: 3.1.3
Upgrade solidus_core to 3.1.3
Verify Direct and Transitive Dependencies

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

### Impact The 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. The 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. ### Patches For extra security, update `solidus_core` to versions `3.1.3`, `3.0.3` or `2.11.12`. ### Workarounds Look at the workarounds described at [GHSA-xm34-v85h-9pg2](https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2). ### References - [GHSA-xm34-v85h-9pg2](https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2). ### For more information If you have any questions or comments about this advisory: * 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) * Email us at [security@solidus.io](mailto:security@soliidus.io) * Contact the core team on [Slack](http://slack.solidus.io/)

GHSA-5629-8855-gf4g Affected Solidus core Versions

3 component(s)
Fixed Versions:
2.11.123.0.33.1.3
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?
GHSA-5629-8855-gf4g is a security vulnerability in Solidus core involving Authentication Bypass by CSRF Weakness under CWE-305: Authentication Bypass by Primary Weakness.
Which Solidus core versions are affected?
Affected versions include releases prior to 2.11.12, 3.0.3, 3.1.3 across affected packages: solidus_core.
What version fixes GHSA-5629-8855-gf4g?
Upgrading to 2.11.12, 3.0.3, 3.1.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is solidus_core affected?
Yes, solidus_core is affected in releases prior to 2.11.12, 3.0.3, 3.1.3. Upgrade your dependency to 2.11.12, 3.0.3, 3.1.3 or later.
What is the CVSS score of GHSA-5629-8855-gf4g?
GHSA-5629-8855-gf4g has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with GHSA-5629-8855-gf4g?
GHSA-5629-8855-gf4g is classified under CWE-305: Authentication Bypass by Primary Weakness (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.).
How can I check RubyGems dependencies for GHSA-5629-8855-gf4g?
Run the dependency tree command: 'inspect dependencies for solidus_core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}