Improperly Implemented path matching for in-toto-golang
Description
in-toto-golang is a go implementation of the in-toto framework to protect software supply chain integrity. In affected versions authenticated attackers posing as functionaries (i.e., within a trusted set of users for a layout) are able to create attestations that may bypass DISALLOW rules in the same layout. An attacker with access to trusted private keys, may issue an attestation that contains a disallowed artifact by including path traversal semantics (e.g., foo vs dir/../foo). Exploiting this vulnerability is dependent on the specific policy applied. The problem has been fixed in version 0.3.0.
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 |
|---|---|---|
github.com/in-toto/in-toto-golangGo | < 0.3.0 | 0.3.0 |
Affected products
2- in-toto/in-toto-golangv5Range: < 0.3.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-vrxp-mg9f-hwf3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-41087ghsaADVISORY
- github.com/in-toto/in-toto-golang/commit/f2c57d1e0f15e3ffbeac531829c696b72ecc4290ghsax_refsource_MISCWEB
- github.com/in-toto/in-toto-golang/security/advisories/GHSA-vrxp-mg9f-hwf3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.