What’s Vulnerable › Vulnerabilities
CVE-2024-52582: cachi2 allows traceback prints locals
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-19 · updated 2026-06-17
- Weakness: CWE-497
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.
Affected products
- containerbuildsystem cachi2: before 0.14.0 — fixed in 0.14.0
How to fix
Upgrade to a fixed version: containerbuildsystem cachi2 0.14.0. Check the vendor advisory for mitigations.
References
- https://github.com/containerbuildsystem/cachi2/commit/d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9
- https://github.com/containerbuildsystem/cachi2/security/advisories/GHSA-w9qc-9m5h-qqmh
- https://typer.tiangolo.com/tutorial/exceptions/?h=#disable-local-variables-for-security
Get alerted when CVE-2024-52582 or the next vulnerability affects your stack