Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW0yanItaG1jMy1xbXBy

Authorization bypass in Spree

Impact

The perpetrator could query the API v2 Order Status endpoint with an empty string passed as an Order token

Patches

Please upgrade to 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.

References

Pull request with a fix and in-depth explanation - https://github.com/spree/spree/pull/10573

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-m2jr-hmc3-qmpr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW0yanItaG1jMy1xbXBy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: 12 months ago


CVSS Score: 7.7
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Identifiers: GHSA-m2jr-hmc3-qmpr, CVE-2020-26223
References: Repository: https://github.com/spree/spree
Blast Radius: 25.1

Affected Packages

rubygems:spree_api
Dependent packages: 21
Dependent repositories: 1,812
Downloads: 2,296,201 total
Affected Version Ranges: >= 4.1.0, < 4.1.12, >= 4.0.0, < 4.0.5, >= 3.7.0, < 3.7.13
Fixed in: 4.1.12, 4.0.5, 3.7.13
All affected versions: 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, 3.7.5, 3.7.6, 3.7.7, 3.7.8, 3.7.9, 3.7.10, 3.7.11, 3.7.12, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9, 4.1.10, 4.1.11
All unaffected versions: 0.30.0, 0.30.1, 0.30.2, 0.40.0, 0.40.1, 0.40.2, 0.40.3, 0.40.4, 0.50.0, 0.50.1, 0.50.2, 0.50.3, 0.50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