Read the docs

Race condition in OTS Redis backend allows repeated secret retrieval

Priority LOW 39CWE-367Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-92r4-rpw3-7cwm. Fix status from GitHub.

Summary

The github.com/Luzifer/ots Go package from 0 before 1.21.8 reads and then deletes secrets in its Redis storage backend as two separate operations. Concurrent requests for the same secret ID can both read the secret before the delete runs, which breaks the one-time-read guarantee (CWE-367). An attacker needs the secret ID and must time concurrent requests within a very small window, so the impact is limited to artificial race conditions.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Description from the GitHub advisory

### Summary The Redis storage backend performs secret retrieval and deletion as two separate operations (`GET` followed by `DEL`). Under highly concurrent access to the same secret ID, more than one request may read the secret before it is deleted. This can violate the intended one-time-read property for Redis-backed deployments. ### Impact This issue affects deployments using the Redis storage backend. The issue is theoretically exploitable by racing multiple requests against the same secret ID. In local laboratory testing, concurrent requests can retrieve the same secret more than once because deletion is not atomic. In real-world conditions, exploitation is not considered practical for confidentiality impact unless the attacker already knows the secret URL/ID and can precisely time requests within the very small interval between Redis `GET` and `DEL`, or can themselves issue concurrent requests for a secret they already possess access to. Therefore, this is best treated as a violation of the one-time-read guarantee under artificial race conditions rather than a practical remote disclosure vulnerability. ### Attack Requirements An attacker would need: - Knowledge of the secret ID / secret URL - Network access to the OTS instance - Ability to issue highly concurrent requests, or to race the legitimate recipient’s read request within a very small timing window - The attacker cannot discover arbitrary secrets through this issue.

Why it matters now

Fix Fixed github.com/Luzifer/ots (Go): 1.21.8

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/Luzifer/ots (Go)before 1.21.81.21.8Patch availableGHSA-92r4-rpw3-7cwm
  • github.com/Luzifer/ots (Go) Vendor— Affected before 1.21.8 Fixed in 1.21.8 Patch available GHSA-92r4-rpw3-7cwm

Remediation

Update github.com/Luzifer/ots to fixed version 1.21.8.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

  • Fix · GHSA-92r4-rpw3-7cwm github.com/Luzifer/ots (Go) Fixed in 1.21.8 Advisory →

Timeline

  1. 2026-12-03 Threatist record created from GHSA-92r4-rpw3-7cwm

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences