{"id":"CVE-2023-32076","published":"2023-05-10T17:58:09Z","modified":"2025-01-27T18:31:51Z","title":"in-toto vulnerable to Configuration Read From Local Directory","vendor":"in-toto","product":"in-toto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00243,"percentile":0.15805,"provenance":"source"},"cwes":[{"id":"CWE-15","name":"External Control of System or Configuration Setting"}],"references":[{"url":"https://github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x","tags":["x_refsource_MISC"]},{"url":"https://github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd","tags":["x_refsource_MISC"]},{"url":"https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html","tags":["x_refsource_MISC"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":3.16},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"in-toto","affectedVersions":[{"vendor":"in-toto","product":"in-toto","versions":["<= 1.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-27T18:31:43.127939Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"in-toto","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-wc64-c5rv-32pf","PYSEC-2023-63"],"provenance":"source"}],"summary":{"text":"The in-toto supply chain integrity framework, in versions 1.4.0 and prior, reads an .in_totorc configuration file from the directory where it is run, which lets externally supplied configuration change its behaviour. An attacker who controls the inputs to a supply chain step and can supply a crafted .in_totorc file, with a local attack vector, low complexity, and low privileges required, and with no user interaction needed, can alter the framework's settings to hide their activity from the step.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:38Z"},"euvd":{"id":"EUVD-2023-0097","exploited":false,"provenance":"source"}}