github.com/Luzifer/ots · OTS Redis storage backend allows non-atomic one-time secret retrieval under concurrent requests
Affects github.com/Luzifer/otsSource GCVE Database
CVSS 5.3 Medium : upgrade to 1.21.8 when convenient.
Data as of 3 Dec 2026, 23:45 UTC
- Patch
- Available – fixed in 1.21.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NWhat to do
Upgrade github.com/Luzifer/ots to 1.21.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/Luzifer/ots | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in OTS version 1.21.8 that fixes this issue by ensuring atomic secret retrieval and deletion. Users should upgrade to version 1.21.8 or later to remediate this vulnerability.
Description
The Redis storage backend in OTS versions prior to 1.21.8 performs secret retrieval and deletion as separate operations, allowing concurrent requests to read the same secret multiple times. This violates the intended one-time-read property under highly concurrent access. Exploitation requires knowledge of the secret ID and precise timing to race requests. The issue is fixed in version 1.21.8.