Skip to content

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

MediumCVSS 4.4 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
pypi ops(PyPI) >= 2.0.0, < 2.15.0 2.15.0
pypi ops(PyPI) = 2.0.0 No fix listed
pypi ops(PyPI) = 2.1.0 No fix listed
pypi ops(PyPI) = 2.1.1 No fix listed
pypi ops(PyPI) = 2.10.0 No fix listed
pypi ops(PyPI) = 2.11.0 No fix listed
pypi ops(PyPI) = 2.12.0 No fix listed
pypi ops(PyPI) = 2.13.0 No fix listed
pypi ops(PyPI) = 2.14.0 No fix listed
pypi ops(PyPI) = 2.14.1 No fix listed
pypi ops(PyPI) = 2.2.0 No fix listed
pypi ops(PyPI) = 2.3.0 No fix listed
pypi ops(PyPI) = 2.4.0 No fix listed
pypi ops(PyPI) = 2.4.1 No fix listed
pypi ops(PyPI) = 2.5.0 No fix listed
pypi ops(PyPI) = 2.5.1 No fix listed
pypi ops(PyPI) = 2.6.0 No fix listed
pypi ops(PyPI) = 2.7.0 No fix listed
pypi ops(PyPI) = 2.8.0 No fix listed
pypi ops(PyPI) = 2.9.0 No fix listed
Canonical operator = >= 2.0.0, < 2.15.0 No fix listed

References