CVE-2024-6984High· 8.8▾ TwilightJuju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 48.4 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
0.4%
An issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged attacker to access other sensitive data or relation accessible to the local charm. A potential exploit where a user can run a bash loop attempting to execute hook tools. If running while another hook is executing, we log an error with the context ID, making it possible for the user to then use that ID in a following call successfully. This means an unprivileged user can access anything available via a hook tool such as config, relation data and secrets.
github.com/juju/juju < 2.9.50github.com/juju/juju >= 3.0.0, < 3.1.9github.com/juju/juju >= 3.2.0, < 3.3.6github.com/juju/juju >= 3.4.0, < 3.4.5github.com/juju/juju >= 3.5.0, < 3.5.3Upgrade to a patched release:
github.com/juju/juju 2.9.50github.com/juju/juju 3.1.9github.com/juju/juju 3.3.6github.com/juju/juju 3.4.5github.com/juju/juju 3.5.3Connected by shared product, vendor, weakness, or advisory.