in-toto vulnerable to Configuration Read From Local Directory
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 https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x.
References
[1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html [2] https://spec.editorconfig.org/ [3] https://github.blog/2022-04-12-git-security-vulnerability-announced/
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | in-toto | < 2.0.0 | 2.0.0 |
Verweise
- https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x
- https://github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf
- https://github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd
- https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-32076
- https://github.com/in-toto/in-toto
- https://github.com/in-toto/in-toto/releases/tag/v2.0.0
- https://github.com/pypa/advisory-database/tree/main/vulns/in-toto/PYSEC-2023-63.yaml
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Schwäche (CWE)
CWE-15, CWE-610- Plattform
- Python (PyPI)
- Paket
in-toto- Veröffentlicht
- 10.05.2023
- Aktualisiert
- 11.10.2026 12:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2023-63 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-wc64-c5rv-32pf - CC BY 4.0
Schwachstellenhistorie: in-toto
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 2
- Erste → letzte
- 05.2023 05.2023
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Mittel 2
Veröffentlichungen pro Jahr
- 2023: 2
- 2024: 0
- 2025: 0
- 2026: 0
-
in-toto vulnerable to Configuration Read From Local Directory dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.