Skip to main content
VulnerabilityPublished

github.com/Luzifer/ots · OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL

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:44 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:L/PR:N/UI:N/S:U/C:N/I:L/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

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.

References

Community reviews

Loading reviews…