Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. in-toto
  4. ›
  5. CVE-2023-32076

CVE-2023-32076: External Control of System or Configuration Setting

May 10, 2023 (updated May 18, 2023)

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.

References

  • github.com/advisories/GHSA-wc64-c5rv-32pf
  • github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x
  • github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd
  • github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf
  • nvd.nist.gov/vuln/detail/CVE-2023-32076
  • specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Code Behaviors & Features

Detect and mitigate CVE-2023-32076 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.4.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-610: Externally Controlled Reference to a Resource in Another Sphere

Source file

pypi/in-toto/CVE-2023-32076.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:52 +0000.