github.com/juju/juju
Affected
- introduced
0, fixed2.9.50(semver)
Fixed versions
2.9.50
Fix
- Fixed version
2.9.50go get github.com/juju/[email protected]
Advisory
Also known as: CVE-2024-6984, GO-2024-3010, GO-2024-3040
Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm
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.
High Basis: The source's own band: HIGH
0, fixed 2.9.50 (semver)2.9.50
2.9.50go get github.com/juju/[email protected]3.0.0, fixed 3.1.9 (semver)3.1.9
3.1.9go get github.com/juju/[email protected]3.2.0, fixed 3.3.6 (semver)3.3.6
3.3.6go get github.com/juju/[email protected]3.4.0, fixed 3.4.5 (semver)3.4.5
3.4.5go get github.com/juju/[email protected]3.5.0, fixed 3.5.3 (semver)3.5.3
3.5.3go get github.com/juju/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0