提交 #857935: allegro ralph bcf65b994ef29fb3fc2e10b660e6288723d5209e CWE-362 Concurrent Execution using Shared Resource with Improper信息

标题allegro ralph bcf65b994ef29fb3fc2e10b660e6288723d5209e CWE-362 Concurrent Execution using Shared Resource with Improper
描述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.
来源⚠️ https://github.com/allegro/ralph/issues/3950
用户
 GalaxynC (UID 98975)
提交2026-06-13 13時21分 (1 月前)
管理2026-07-18 10時40分 (1 month later)
状态已接受
VulDB条目380027 [allegro 直到 bcf65b994ef29fb3fc2e10b660e6288723d5209e Hostname Allocation assets.py AssetLastHostname.increment_hostname counter 竞争条件]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!