7.7high
Authorization bypass in Spree
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.12% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m2jr-hmc3-qmpr
Description
Spree is a complete open source e-commerce solution built with Ruby on Rails. In Spree from version 3.7 and before versions 3.7.13, 4.0.5, and 4.1.12, there is an authorization bypass vulnerability. The perpetrator could query the API v2 Order Status endpoint with an empty string passed as an Order token. This is patched in versions 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| spree spree | >= 3.7.0, < 3.7.13, >= 4.0.0, < 4.0.5, >= 4.1.0, < 4.1.12 | CVE List |
| spree_api (RubyGems) | from 3.7.0 before 3.7.13, from 4.0.0 before 4.0.5, from 4.1.0 before 4.1.12 | GitHub Advisory Database |
| spreecommerce spree | from 3.7.0 before 3.7.13, from 4.0.0 before 4.0.5, from 4.1.0 before 4.1.12 | NVD |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
Spree is a complete open source e-commerce solution built with Ruby on Rails. In Spree from version 3.7 and before versions 3.7.13, 4.0.5, and 4.1.12, there is an authorization bypass vulnerability. The perpetrator could query the API v2 Order Status endpoint with an empty string passed as an Order token. This is patched in versions 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.
GitHub Advisory Database
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:
- Email us at security@spreecommerce.org
NVD (es)
Spree es una completa solución e-commerce de código abierto construida con Ruby on Rails. En Spree desde la versión 3.7 y versiones anteriores a 3.7.13, 4.0.5 y 4.1.12, se presenta una vulnerabilidad de omisión de autorización. El perpetrador podría consultar el endpoint API v2 Order Status con una cadena vacía pasada como un token de pedido. Esto está parcheado en versiones 3.7.11, 4.0.4 o 4.1.11 dependiendo de la versión de Spree usada. Los usuarios de Spree versiones anteriores a 3.7 no están afectados
References
| https://github.com/spree/spree/security/advisories/GHSA-m2jr-hmc3-qmpr | third-party-advisory, web | |
| https://github.com/spree/spree/pull/10573 | exploit, patch, third-party-advisory, web | |
| https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26223 | advisory | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2020-26223.yml | web | |
| https://github.com/spree/spree | package | |
| https://rubygems.org/gems/spree_api/versions | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26223 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m2jr-hmc3-qmpr changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2020-26223 changed 2026-06-17 | Public domain |