Skip to content

Passing an empty string '' as the token allows to query any complete order without knowing it's token

High
damianlegawiec published GHSA-m2jr-hmc3-qmpr Nov 12, 2020

Package

bundler spree_api (rubygems)

Affected versions

>= 3.7.0

Patched versions

3.7.13,4.0.5,4.1.12

Description

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 - #10573

For more information

If you have any questions or comments about this advisory:

Severity

High

CVE ID

CVE-2020-26223

Weaknesses

No CWEs