PT-2024-38021 · Canonical · Juju
Joe Phillips
+2
·
Published
2024-07-29
·
Updated
2024-09-11
·
CVE-2024-6984
CVSS v3.1
8.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Juju versions prior to 2.9.50
Juju versions 3.0.0 through 3.1.9
Juju versions 3.2.0 through 3.3.6
Juju versions 3.4.0 through 3.4.5
Juju versions 3.5.0 through 3.5.3
Description
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.
Recommendations
For versions prior to 2.9.50, update to version 2.9.50 or later.
For versions 3.0.0 through 3.1.9, update to version 3.1.9 or later.
For versions 3.2.0 through 3.3.6, update to version 3.3.6 or later.
For versions 3.4.0 through 3.4.5, update to version 3.4.5 or later.
For versions 3.5.0 through 3.5.3, update to version 3.5.3 or later.
Exploit
Fix
Improper Access Control
Generation of Error Message Containing Sensitive Information
Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Juju