Medium, CVSS 5.5PyPIPublished
in-toto vulnerable to Configuration Read From Local Directory
CVE-2023-32076 · GHSA-wc64-c5rv-32pf
- Affected
- PyPI in-toto < 2.0.0
- Fixed in
- 2.0.0· Vendor fix available
- Issue
- Impact The in-toto configuration is read from various directories and allows users to configure the behavior of the framework. The files are from directories following the XDG base directory specification [1]. Among the files read is `.in_totorc` which is a hidden file in the directory in which in-toto is run. If an attacker controls the inputs to a supply chain step, they can mask their activities by also passing in an `.in_totorc` file that includes the necessary exclude patterns and settings. RC files are widely used in other systems [2] and security issues have been discovered in their implementations as well [3]. We found in our conversations with in-toto adopters that `in_totorc` is not their preferred way to configure in-toto. As none of the options supported in `in_totorc` is unique, and can be set elsewhere using API parameters or CLI arguments, we decided to drop support for `in_totorc`. Other Recommendations Sandbox functionary code as recommended in…
Recommended action: Upgrade to 2.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.