GHSA-vrxp-mg9f-hwf3
Improperly Implemented path matching for in-toto-golang
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/in-toto/in-toto-golang | < 0.3.0 | 0.3.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
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).
### Patches
The problem has been fixed in version 0.3.0.
### Workarounds
Exploiting this vulnerability is dependent on the specific policy applied.
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [in-toto-golang](http://github.com/in-toto/in-toto-golang)
* Email us at [in-toto-public](mailto:[email protected])
* If this is a sensitive security-relevant disclosure, please send a PGP encrypted email to [email protected] or [email protected]
References
External links from the advisory. They lead to third-party sites.