提出 #857939: awesto django-shop 13d9a77aff7eede74a5f363c1d540e005d88dbcd CWE-362 Concurrent Execution using Shared Resource with Improper情報

タイトルawesto django-shop 13d9a77aff7eede74a5f363c1d540e005d88dbcd CWE-362 Concurrent Execution using Shared Resource with Improper
説明awesto/django-shop deducts product stock during checkout without locking the stock row or using an atomic conditional update. When a product has one unit remaining, two concurrent checkout requests can both pass the stock logic and create orders before the deduction is serialized. This allows overselling and leaves inventory or order state inconsistent with real availability.
ソース⚠️ https://github.com/awesto/django-shop/issues/888
ユーザー
 GalaxynC (UID 98975)
送信2026年06月13日 13:24 (1 月 ago)
モデレーション2026年07月18日 10:48 (1 month later)
ステータス承諾済み
VulDBエントリ380028 [awesto django-shop 迄 1.2.4 Purchase Stock shop/models/inventory.py 競合状態]
ポイント19

Want to stay up to date on a daily basis?

Enable the mail alert feature now!