in-toto vulnerable to Configuration Read From Local Directory
Description
in-toto is a framework to protect supply chain integrity. 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. In versions 1.4.0 and prior, 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 and security issues have been discovered in their implementations as well. Maintainers found in their 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, the maintainers decided to drop support for in_totorc. in-toto's user_settings module has been dropped altogether in commit 3a21d84f40811b7d191fa7bd17265c1f99599afd. Users may also sandbox functionary code as a security measure.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
in-totoPyPI | < 2.0.0 | 2.0.0 |
Affected products
2Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-wc64-c5rv-32pfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-32076ghsaADVISORY
- github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4xghsax_refsource_MISCWEB
- github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afdghsax_refsource_MISCWEB
- github.com/in-toto/in-toto/releases/tag/v2.0.0ghsaWEB
- github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pfghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/in-toto/PYSEC-2023-63.yamlghsaWEB
- specifications.freedesktop.org/basedir-spec/basedir-spec-latest.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.