ADVISORIES

GitHub Advisory Database

GHSA-m2jr-hmc3-qmpr

Authorization bypass in Spree

Details

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:

Affected packages

EcosystemPackageAffected versions
RubyGemsspree_api
From 3.7.0 before 3.7.13 (fixed in 3.7.13)
RubyGemsspree_api
From 4.0.0 before 4.0.5 (fixed in 4.0.5)
RubyGemsspree_api
From 4.1.0 before 4.1.12 (fixed in 4.1.12)

References