CVE-2020-26223
JSON

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 packageVersionsReported by
spree spree>= 3.7.0, < 3.7.13, >= 4.0.0, < 4.0.5, >= 4.1.0, < 4.1.12CVE 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.12GitHub Advisory Database
spreecommerce spreefrom 3.7.0 before 3.7.13, from 4.0.0 before 4.0.5, from 4.1.0 before 4.1.12NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD4.0medium CVSS:2.0AV: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:

NVD (es)

Spree es una completa solución e-commerce de código abierto construida con Ruby on Rails.&#xa0;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.&#xa0;El perpetrador podría consultar el endpoint API v2 Order Status con una cadena vacía pasada como un token de pedido.&#xa0;Esto está parcheado en versiones 3.7.11, 4.0.4 o 4.1.11 dependiendo de la versión de Spree usada.&#xa0;Los usuarios de Spree versiones anteriores a 3.7 no están afectados

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26223 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-m2jr-hmc3-qmpr changed 2026-09-10CC-BY-4.0
NVDCVE-2020-26223 changed 2026-06-17Public domain