CVE-2024-41129

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

Published Jul 22, 2024 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2360 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.
Github GHSA Github GHSA GHSA-hcmv-jmqh-fjgm ops leaking secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
History

No history.

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 4:46 AM
Reserved
Jul 15, 2024, 3:53 PM
Status
Deferred
Published
Jul 22, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:47 AM