Every CVESearch/Get API key

GHSA-92r4-rpw3-7cwm

OTS Redis storage backend allows non-atomic one-time secret retrieval under concurrent requests

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.3Medium
Network attack, no privileges, needs user interactionCVSS 3.1, GitHub Advisories
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
Unknown
No source reports an EPSS score yet.
Listed fix
1.21.8 for github.com/Luzifer/ots
From GitHub Advisories and OSV

Overview

Summary

The 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.

Impact

This issue affects deployments using the Redis storage backend.

The 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.

In 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.

Attack Requirements

An attacker would need:

  • Knowledge of the secret ID / secret URL
  • Network access to the OTS instance
  • Ability to issue highly concurrent requests, or to race the legitimate recipient’s read request within a very small timing window
  • The attacker cannot discover arbitrary secrets through this issue.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required

Impact

Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

Packages 1

Affected packages
PackageAffectedFixed
github.com/Luzifer/ots
Go
before 1.21.8
1.21.8

Sources

GitHub Advisories Score usedCVSS 3.15.3

OTS Redis storage backend allows non-atomic one-time secret retrieval under concurrent requests

Summary

The 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.

Impact

This issue affects deployments using the Redis storage backend.

The 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.

In 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.

Attack Requirements

An attacker would need:

  • Knowledge of the secret ID / secret URL
  • Network access to the OTS instance
  • Ability to issue highly concurrent requests, or to race the legitimate recipient’s read request within a very small timing window
  • The attacker cannot discover arbitrary secrets through this issue.
Record
GHSA-92r4-rpw3-7cwm
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-367
Updated
2026-12-03
OSVCVSS 3.15.3

OTS Redis storage backend allows non-atomic one-time secret retrieval under concurrent requests

Summary

The 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.

Impact

This issue affects deployments using the Redis storage backend.

The 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.

In 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.

Attack Requirements

An attacker would need:

  • Knowledge of the secret ID / secret URL
  • Network access to the OTS instance
  • Ability to issue highly concurrent requests, or to race the legitimate recipient’s read request within a very small timing window
  • The attacker cannot discover arbitrary secrets through this issue.
Record
GHSA-92r4-rpw3-7cwm
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-367
Updated
2026-12-03

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packages, referencesOSV
First indexedGitHub Advisories

Upstream dates may differ.

References

MoveEnter Open