Skip to main content
← All vulnerabilities
CVE-2024-41129GHSA-HCMV-JMQH-FJGMPYSEC-2026-1753

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.15.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • canonical operator

    From 2.0.0 · fixed in 2.15.0

  • opsPyPI

    From 2.0.0 · fixed in 2.15.0

References 2

GitHub · canonical/operator