GHSA-92r4-rpw3-7cwm: Github.com/Luzifer/ots OTS Redis Storage Backend Allows Vulnerability
MODERATEGHSA-92r4-rpw3-7cwm is a MODERATE (CVSS 5.3) ots redis storage backend allows vulnerability (CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition) affecting Github.com/Luzifer/ots libraries in the Go ecosystem. The issue involves ots redis storage backend allows non-atomic one-time secret retrieval under concurrent requests. Remediation is available by upgrading affected packages to version 1.21.8.
GHSA-92r4-rpw3-7cwm 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:H/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix GHSA-92r4-rpw3-7cwm
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-92r4-rpw3-7cwm, 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-367: Time-of-check Time-of-use (TOCTOU) Race Condition, where the product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. 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-92r4-rpw3-7cwm 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-92r4-rpw3-7cwm?
Which Github.com/Luzifer/ots versions are affected?
What version fixes GHSA-92r4-rpw3-7cwm?
Is github.com/Luzifer/ots affected?
What is the CVSS score of GHSA-92r4-rpw3-7cwm?
What CWE is associated with GHSA-92r4-rpw3-7cwm?
How can I check Go dependencies for GHSA-92r4-rpw3-7cwm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-92r4-rpw3-7cwm",
"modified" : "2026-12-03T21:31:42Z",
"published" : "2026-12-03T21:31:42Z",
"aliases" : [ ],
"summary" : "OTS Redis storage backend allows non-atomic one-time secret retrieval under concurrent requests",
"details" : "### Summary\n\nThe Redis storage backend performs secret retrieval and deletion as two separate operations (`GET` followed by `DEL`). Under highly concurrent access to the same secret ID, more than one request may read the secret before it is deleted. This can violate the intended one-time-read property for Redis-backed deployments.\n\n### Impact\n\nThis issue affects deployments using the Redis storage backend.\n\nThe issue is theoretically exploitable by racing multiple requests against the same secret ID. In local laboratory testing, concurrent requests can retrieve the same secret more than once because deletion is not atomic.\n\nIn real-world conditions, exploitation is not considered practical for confidentiality impact unless the attacker already knows the secret URL/ID and can precisely time requests within the very small interval between Redis `GET` and `DEL`, or can themselves issue concurrent requests for a secret they already possess access to. Therefore, this is best treated as a violation of the one-time-read guarantee under artificial race conditions rather than a practical remote disclosure vulnerability.\n\n### Attack Requirements\n\nAn attacker would need:\n\n- Knowledge of the secret ID / secret URL\n- Network access to the OTS instance\n- Ability to issue highly concurrent requests, or to race the legitimate recipient’s read request within a very small timing window\n- The attacker cannot discover arbitrary secrets through this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/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-92r4-rpw3-7cwm"
}, {
"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-367" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T21:31:42Z",
"nvd_published_at" : null
}
}