Skip to content
CVE PROGRAM SOURCE RECORD4.4 Medium

CVE-2024-41129

The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

canonical operator

  • >= 2.0.0, < 2.15.0affected

References