HighGHSA-7mp4-25j8-hp5q
Sylius has a Promotion Usage Limit Bypass via Race Condition
Affected versions
before 1.9.12, 1.10.0 to before 1.10.16, 1.11.0 to before 1.11.17, 1.12.0 to before 1.12.23, 1.13.0 to before 1.13.15, 1.14.0 to before 1.14.18, 2.0.0 to before 2.0.16, 2.1.0 to before 2.1.12, 2.2.0 to before 2.2.3 - fixed in 1.9.12Details
### Impact A Time-of-Check To Time-of-Use (TOCTOU) race condition was discovered in the promotion usage limit enforcement. The same class of vulnerability affects three independent limits: 1. **Promotion usage limit** - the global `used` counter on `Promotion` entities 2. **Coupon usage limit** - the global `used` counter on `PromotionCoupon` entities 3. **Coupon per-customer usage limit** - the per-customer redemption count on `PromotionCoupon` entities In all three cases, the eligibility check reads the `used` counter (or order count) from an in-memory Doctrine entity during validation, wh
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected