Skip to main content
VulnerabilityPublished

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

0

CVSS 5.3 Medium : upgrade to 1.21.8 when convenient.

Data as of 3 Dec 2026, 23:45 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Upgrade github.com/Luzifer/ots to 1.21.8.

Affected software

ProductAffectedFixed in
Gogithub.com/Luzifer/otsAffected
  • <1.21.8
Fixed in
  • 1.21.8

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.

References

Community reviews

Loading reviews…