{"cve":"CVE-2021-41087","nvd":{"published":"2021-09-21T21:15:07.203","modified":"2026-06-17T04:07:50.890","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-22","CWE-345"],"references":["https://github.com/in-toto/in-toto-golang/commit/f2c57d1e0f15e3ffbeac531829c696b72ecc4290","https://github.com/in-toto/in-toto-golang/security/advisories/GHSA-vrxp-mg9f-hwf3","https://github.com/in-toto/in-toto-golang/commit/f2c57d1e0f15e3ffbeac531829c696b72ecc4290","https://github.com/in-toto/in-toto-golang/security/advisories/GHSA-vrxp-mg9f-hwf3"],"products":["in-toto:in-toto-golang"],"source":"nvd","synced_at":"2026-10-19T21:23:41.316049955+00:00"},"epss":{"cve":"CVE-2021-41087","score":0.0043,"percentile":0.37247,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vrxp-mg9f-hwf3","url":"https://osv.dev/vulnerability/GHSA-vrxp-mg9f-hwf3","summary":"Improperly Implemented path matching for in-toto-golang","modified":"2026-07-08T06:29:57.206788947Z","packages":[{"ecosystem":"Go","name":"github.com/in-toto/in-toto-golang","purl":"pkg:golang/github.com/in-toto/in-toto-golang","ranges":["<0.3.0"],"fixed":["0.3.0"]}]},{"id":"GO-2022-0936","url":"https://osv.dev/vulnerability/GO-2022-0936","summary":"Improperly Implemented path matching for in-toto-golang in github.com/in-toto/in-toto-golang","modified":"2026-03-03T04:51:04.349845Z","packages":[{"ecosystem":"Go","name":"github.com/in-toto/in-toto-golang","purl":"pkg:golang/github.com/in-toto/in-toto-golang","ranges":["<0.3.0"],"fixed":["0.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}