Vulnerabilities in pkg:golang/github.com/Luzifer/ots
PACKAGEGHSA-6ppq-9x26-5r92 is a MODERATE (CVSS 5.3) ots expire override allows creation vulnerability (CWE-20: Improper Input Validation) affecting Github.com/Luzifer/ots libraries in the Go ecosystem. The issue involves ots expire override allows creation of non-expiring secrets despite configured maximum ttl. Remediation is available by upgrading affected packages to version 1.21.8.
pkg:golang/github.com/Luzifer/ots
Vulnerability advisories affecting package pkg:golang/github.com/Luzifer/ots. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6ppq-9x26-5r92 | - | MODERATE | OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL |
| GHSA-92r4-rpw3-7cwm | - | MODERATE | OTS Redis storage backend allows non-atomic one-time secret retrieval under concurrent requests |
| GHSA-h5fq-653g-gxrm | - | MODERATE | ots has a negative expire override that can bypass its secret retention policy |
GHSA-6ppq-9x26-5r92 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix GHSA-6ppq-9x26-5r92
To remediate this vulnerability, upgrade all affected Github.com/Luzifer/ots dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/Luzifer/ots to 1.21.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/Luzifer/ots
How to Check if You Are Affected
To determine whether your application is affected by GHSA-6ppq-9x26-5r92, inspect your project dependencies for Github.com/Luzifer/ots:
inspect dependencies for github.com/Luzifer/ots
Analyze the terminal output to locate any version of Github.com/Luzifer/ots in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.21.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/Luzifer/ots, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-6ppq-9x26-5r92 Affected Github.com/Luzifer/ots Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/Luzifer/ots
|
Go |
< 1.21.8
|
1.21.8
|
References
Frequently Asked Questions
What is GHSA-6ppq-9x26-5r92?
Which Github.com/Luzifer/ots versions are affected?
What version fixes GHSA-6ppq-9x26-5r92?
Is github.com/Luzifer/ots affected?
What is the CVSS score of GHSA-6ppq-9x26-5r92?
What CWE is associated with GHSA-6ppq-9x26-5r92?
How can I check Go dependencies for GHSA-6ppq-9x26-5r92?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6ppq-9x26-5r92",
"modified" : "2026-12-03T21:32:59Z",
"published" : "2026-12-03T21:32:59Z",
"aliases" : [ ],
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/Luzifer/ots"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.21.8"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T21:32:59Z",
"nvd_published_at" : null
}
}