Description
A race condition in the secrets management subsystem of Juju versions 3.0.0 through 3.6.18 allows an authenticated unit agent to claim ownership of a newly initialized secret. Between generating a Juju Secret ID and creating the secret's first revision, an attacker authenticated as another unit agent can claim ownership of a known secret. This leads to the attacking unit being able to read the content of the initial secret revision.
Problem types
CWE-708 Incorrect ownership assignment
Product status
3.0.0 (semver) before 3.6.19
Credits
Harry Pidcock
References
github.com/juju/juju/security/advisories/GHSA-gfgr-6hrj-85ww