| Title | allegro ralph bcf65b994ef29fb3fc2e10b660e6288723d5209e CWE-362 Concurrent Execution using Shared Resource with Improper |
|---|
| Description | allegro/ralph allocates asset hostnames by incrementing AssetLastHostname.counter and then performing a separate unlocked read of the same row in AssetLastHostname.increment_hostname(). Concurrent callers can interleave so that two workers both read the later committed counter value and return the same formatted hostname. This can assign duplicate hostnames during concurrent asset creation, affecting inventory identity, DNS, provisioning, or automation that relies on hostname uniqueness. |
|---|
| Source | ⚠️ https://github.com/allegro/ralph/issues/3950 |
|---|
| User | GalaxynC (UID 98975) |
|---|
| Submission | 06/13/2026 13:21 (1 month ago) |
|---|
| Moderation | 07/18/2026 10:40 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 380027 [allegro up to bcf65b994ef29fb3fc2e10b660e6288723d5209e Hostname Allocation assets.py AssetLastHostname.increment_hostname counter race condition] |
|---|
| Points | 20 |
|---|