Security mailing lists by PureSourceCode

GHSA-92r4-rpw3-7cwm

MEDIUM 5.3CVSS 3.1

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.
Published
3 Dec 2026
Last modified
3 Dec 2026
Weakness
CWE-367
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/Luzifer/ots < 1.21.8 1.21.8

References

History

  • 3 Dec 2026 23:56 UTC · OSV: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.