Vulnerability · Published May 10, 2023 · Assigned by GitHub_M
CVE-2023-32076in-toto vulnerable to Configuration Read From Local Directory
Medium 5.5
In plain English
A medium-severity security flaw in in-toto from in-toto. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | in-toto | no fix listed | DEBIAN-CVE-2023-32076 |
| PyPI | in-toto | 2.0.0 | GHSA-wc64-c5rv-32pf |
| PyPI | in-toto | 2.0.0 | PYSEC-2023-63 |
| Ubuntu:22.04:LTS | in-toto | no fix listed | UBUNTU-CVE-2023-32076 |
| Ubuntu:24.04:LTS | in-toto | no fix listed | UBUNTU-CVE-2023-32076 |
| Ubuntu:25.10 | in-toto | no fix listed | UBUNTU-CVE-2023-32076 |
| Ubuntu:26.04:LTS | in-toto | no fix listed | UBUNTU-CVE-2023-32076 |
| Ubuntu:26.10 | in-toto | no fix listed | UBUNTU-CVE-2023-32076 |
Affected products (as reported)
Weakness: CWE-15 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf x_refsource_CONFIRM
- https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x x_refsource_MISC
- https://github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd x_refsource_MISC
- https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html x_refsource_MISC