Description
Improper synchronization of the userTokens map in the API server in Canonical Juju 4.0.5, 3.6.20, and 2.9.56 may allow an authenticated user to possibly cause a denial of service on the server or possibly reuse a single-use discharge token.
Problem types
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Product status
2.0.0 (semver) before 2.9.57
3.0.0 (semver) before 3.6.21
4.0.0 (semver) before 4.0.6
References
github.com/juju/juju/security/advisories/GHSA-7m55-2hr4-pw78
github.com/juju/juju/security/advisories/GHSA-7m55-2hr4-pw78 (In-Memory Token Store for Discharge Tokens Lacks Concurrency Safety and Persistence)
github.com/juju/juju/pull/22206
github.com/juju/juju/pull/22205