github.com/Luzifer/ots · OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL
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:44 UTC
- Patch
- Available – fixed in 1.21.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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
Upgrade to OTS version 1.21.8 or later, where this issue is fixed. The fix enforces the configured maximum TTL and prevents creation of non-expiring secrets via the 'expire' parameter. No additional mitigation is required once patched.
Description
OTS has a vulnerability where clients can override the configured maximum secret expiration time by setting the 'expire' parameter to zero during secret creation. This allows creation of secrets that do not expire automatically, bypassing the intended retention policy. The secret remains stored indefinitely if never read. This affects both Redis-backed and in-memory storage implementations. The issue is fixed in version 1.21.8.