CVE-2021-41087In-toto-golang
Medium 6.5
Follow: this CVE · In-toto · In-toto-golang We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 39
- Auth required
- Yes
- Published
- Sep 21, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for In-toto-golang.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/in-toto/in-toto-golang |
< 0.3.0 |
0.3.0 |
go get github.com/in-toto/in-toto-golang@v0.3.0 |
| Go | github.com/in-toto/in-toto-golang |
< 0.3.0 |
0.3.0 |
go get github.com/in-toto/in-toto-golang@v0.3.0 |
Per OSV / GitHub Advisories (GHSA-vrxp-mg9f-hwf3, GO-2022-0936). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| in-toto | in-toto-golang | < 0.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory