Advisory

GHSA-m2jr-hmc3-qmpr

Also known as: CVE-2020-26223

Summary

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-11-13 17:18 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

spree_api

RubyGems · All systems

Affected

  • introduced 3.7.0, fixed 3.7.13 (ecosystem)

Fixed versions

3.7.13

Fix

The export has no generic command for this ecosystem.

spree_api

RubyGems · All systems

Affected

  • introduced 4.0.0, fixed 4.0.5 (ecosystem)

Fixed versions

4.0.5

Fix

The export has no generic command for this ecosystem.

spree_api

RubyGems · All systems

Affected

  • introduced 4.1.0, fixed 4.1.12 (ecosystem)

Fixed versions

4.1.12

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences