Vulnerability · Published Nov 19, 2024 · Assigned by GitHub_M
CVE-2024-52582cachi2 allows traceback prints locals
Medium 4.7
In plain English
A medium-severity security flaw in cachi2 from containerbuildsystem. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| containerbuildsystem | cachi2 | < 0.14.0 |
Weakness: CWE-497 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/containerbuildsystem/cachi2/security/advisories/GHSA-w9qc-9m5h-qqmh x_refsource_CONFIRM
- https://github.com/containerbuildsystem/cachi2/commit/d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9 x_refsource_MISC
- https://typer.tiangolo.com/tutorial/exceptions/?h=#disable-local-variables-for-security x_refsource_MISC