Vulnerability · Published Sep 21, 2021 · Assigned by GitHub_M
CVE-2021-41087Improperly Implemented path matching for in-toto-golang
Medium 5.6
In plain English
A medium-severity insufficient verification of data authenticity in in-toto-golang 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.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/in-toto/in-toto-golang | 0.3.0 | GHSA-vrxp-mg9f-hwf3 |
| Go | github.com/in-toto/in-toto-golang | 0.3.0 | GO-2022-0936 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| in-toto | in-toto-golang | < 0.3.0 |
Weakness: CWE-345 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N