The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
Vulnerability Description
The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (>=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-41129
Credits & Attribution
No credits recorded in the NVD database.
References
More from canonical
View All →Affected Vendor
canonical
View all reports →