CVE-2024-41129
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with an admin-level account. High risk of data exposure.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-532 · Secrets in logs
- Record status
- Deferred
Attack profile CVSS 3.1 · 4.4
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-41129.md and follow it. Check whether this project is affected by CVE-2024-41129. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61
- https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm
- https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61
- https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm
References
- https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61
- https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm
- https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61
- https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm