CVE-2024-41129
published medium CVSS 3.1 · 4.4The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| canonical | — | operator>= 2.0.0, < 2.15.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| canonical | operator | >= 2.0.0, < 2.15.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-532 CWE-532: Insertion of Sensitive Information into Log File
References
2Provider assertions
3GitHub_M · cna
The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 241c17294d1fa65dd7c1b2a4aed847f9debf9dd1c4a2a7284ea832b78149748a
- Ingested
- 23 Sep 2026, 08:26:16 UTC
- Source record
- Official CVE record