CVE-2024-41129
MEDIUM 4.4CVSS 3.1ops leaking secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
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.
- Published
- 22 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-532
- Also known as
- GHSA-hcmv-jmqh-fjgmPYSEC-2026-1753
- Sources
- NVDJSONOSV GHSA-hcmv-jmqh-fjgmJSONOSV PYSEC-2026-1753JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | ops | >= 2.0.0, < 2.15.0 | 2.15.0 |
References
- https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61 · WEB
- https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41129 · ADVISORY
- https://github.com/canonical/operator · PACKAGE
- https://pypi.org/project/ops · PACKAGE
- https://github.com/advisories/GHSA-hcmv-jmqh-fjgm · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2024)