GHSA-m2jr-hmc3-qmpr
Authorization bypass in Spree
Quick fix
GHSA-m2jr-hmc3-qmpr — spree_api: upgrade to the fixed version with the command below.
bundle update spree_apiDetails
### Impact The perpetrator could query the [API v2 Order Status](https://guides.spreecommerce.org/api/v2/storefront#tag/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](mailto:security@spreecommerce.org)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/spree/spree/security/advisories/GHSA-m2jr-hmc3-qmpr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2020-26223[ADVISORY]
- https://github.com/spree/spree/pull/10573[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2020-26223.yml[WEB]
- https://github.com/spree/spree[PACKAGE]
- https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status[WEB]
- https://rubygems.org/gems/spree_api/versions[WEB]