Submit #857935: allegro ralph bcf65b994ef29fb3fc2e10b660e6288723d5209e CWE-362 Concurrent Execution using Shared Resource with Improperinfo

Titleallegro ralph bcf65b994ef29fb3fc2e10b660e6288723d5209e CWE-362 Concurrent Execution using Shared Resource with Improper
Descriptionallegro/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)
Submission06/13/2026 13:21 (1 month ago)
Moderation07/18/2026 10:40 (1 month later)
StatusAccepted
VulDB entry380027 [allegro up to bcf65b994ef29fb3fc2e10b660e6288723d5209e Hostname Allocation assets.py AssetLastHostname.increment_hostname counter race condition]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!