PT-2024-29283
CVE-2024-41129
·
تاريخ النشر
2024-07-22
·
تاريخ التحديث
2026-07-07
الوصف من
CVSS 4.0
6.9
متوسطةالمقاييسAV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
ops versions prior to 2.15.0
Description
The issue arises from the ops library passing secret content as an argument via the command-line interface (CLI). This may affect charms using Juju (>=3.0) and Juju secrets, particularly if they do not correctly capture and process
subprocess.CalledProcessError. The vulnerability could lead to the exposure of secrets, such as private keys and passwords, through logs or other means, potentially allowing an attacker to gain privileged access.Recommendations
To resolve the issue, update to version 2.15.0 or later. As a temporary workaround, consider implementing one of the suggested mitigation strategies, such as redacting secret arguments from logs, using temporary files for secrets, or passing secrets through stdin if supported by the secret commands. Restrict access to logs and ensure proper handling of
subprocess.CalledProcessError to minimize the risk of secret exposure.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾