CVE-2024-52582 cachi2 allows traceback prints locals
Cachi2 may expose secrets in logs during unhandled exceptions, risking credential leakage in CI/CD pipelines.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-52582?
CVE-2024-52582 is a medium-severity vulnerability in containerbuildsystem cachi2, published on 19 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Cachi2 is a command-line interface tool that pre-fetches a project's dependencies to aid in making the project's build process network-isolated. Prior to version 0.14.0, secrets may be shown in logs when an unhandled exception is triggered because the tool is logging locals of each function. This may uncover secrets if tool used in CI/build pipelines as it's the main use case. Version 0.14.0 contains a patch for the issue. No known workarounds are available.
Weakness: CWE-497
Which versions are affected by CVE-2024-52582?
How do I fix CVE-2024-52582?
No fix has been published for CVE-2024-52582 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-52582 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52582 exists.
Sources
Also known as GHSA-w9qc-9m5h-qqmh.