{"id":"GHSA-6ppq-9x26-5r92","aliases":[],"url":"https://o3.security/vulnerability/GHSA-6ppq-9x26-5r92","summary":"OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL","details":"### Summary\n\nOTS allows clients to override the configured secret expiry through the `expire` query parameter on the secret creation endpoint. When a server is configured with a positive `SECRET_EXPIRY` value, sending `expire=0` bypasses the configured maximum TTL and creates a secret without an expiration time.\n\n### Impact\n\nAn unauthenticated remote attacker can create secrets that do not expire automatically, even when the instance operator configured a maximum secret lifetime through `SECRET_EXPIRY`.\n\nThis bypasses the configured retention policy for unread secrets. The secret is still removed when it is read successfully, but if it is never read, it can remain stored indefinitely.\n\nThe issue affects both Redis-backed and in-memory storage. In Redis, a zero expiration is passed to go-redis `Set`, which creates the key without an expiration. In the memory backend, zero duration similarly results in no expiry timestamp being set.","published":"2026-12-03T21:32:59Z","modified":"2026-12-03T21:45:03.956268231Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/Luzifer/ots","fixedVersion":"1.21.8"}],"fix":{"url":"https://github.com/Luzifer/ots/commit/035019e443819919190a0c1e4cd96e2ff33aa754","label":"Luzifer/ots@035019e"},"references":[{"type":"WEB","url":"https://github.com/Luzifer/ots/security/advisories/GHSA-6ppq-9x26-5r92"},{"type":"WEB","url":"https://github.com/Luzifer/ots/commit/035019e443819919190a0c1e4cd96e2ff33aa754"},{"type":"PACKAGE","url":"https://github.com/Luzifer/ots"},{"type":"WEB","url":"https://github.com/Luzifer/ots/releases#release-v1.21.8"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-03T21:45:03.956268231Z"}}