logo

CVE-2021-41087 github.com/in-toto/in-toto-golang

Package

Manager: go
Name: github.com/in-toto/in-toto-golang
Vulnerable Version: >=0 <0.3.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N

EPSS: 0.00168 pctl0.3847

Details

Improperly Implemented path matching for in-toto-golang ### 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:in-toto-public@googlegroups.com) * If this is a sensitive security-relevant disclosure, please send a PGP encrypted email to santiagotorres@purdue.edu or jcappos@nyu.edu

Metadata

Created: 2021-09-22T20:37:09Z
Modified: 2021-09-21T21:51:18Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-vrxp-mg9f-hwf3/GHSA-vrxp-mg9f-hwf3.json
CWE IDs: ["CWE-22", "CWE-345"]
Alternative ID: GHSA-vrxp-mg9f-hwf3
Finding: F063
Auto approve: 1