p PatchFirst

CVE-2024-41129

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.4 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • operator

    Versions
    • >= 2.0.0, < 2.15.0: Affected

    No fix published

  • ops PyPI

    Versions
    • 2.0.0
    • 2.1.0
    • 2.1.1
    • 2.10.0
    • 2.11.0
    • 2.12.0
    • 2.13.0
    • 2.14.0
    • 2.14.1
    • 2.2.0
    • 2.3.0
    • 2.4.0
    • 2.4.1
    • 2.5.0
    • 2.5.1
    • 2.6.0
    • 2.7.0
    • 2.8.0
    • 2.9.0
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.15.0

    Update to 2.15.0

Original sources

Check your server →