Skip to content
OpenAdvisories
Medium · 5.6 CVE-2021-41087 EUVD-2021-2118GHSA-vrxp-mg9f-hwf3GO-2022-0936

Improperly Implemented path matching for in-toto-golang

Published Sep 21, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
in-toto in-toto-golang < 0.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/in-toto/in-toto-golang < 0.3.0 0.3.0 GHSA-vrxp-mg9f-hwf3

References