Gửi #857939: awesto django-shop 13d9a77aff7eede74a5f363c1d540e005d88dbcd CWE-362 Concurrent Execution using Shared Resource with Improperthông tin

tiêu đềawesto django-shop 13d9a77aff7eede74a5f363c1d540e005d88dbcd CWE-362 Concurrent Execution using Shared Resource with Improper
Mô tả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.
Nguồn⚠️ https://github.com/awesto/django-shop/issues/888
Người dùng
 GalaxynC (UID 98975)
Đệ trình13/06/2026 13:24 (cách đây 1 tháng)
Kiểm duyệt18/07/2026 10:48 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB380028 [awesto django-shop đến 1.2.4 Purchase Stock shop/models/inventory.py điều kiện tranh chấp]
điểm19

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!