{"id":"GHSA-vrxp-mg9f-hwf3","revision":"225eaed6702d4743aaa0e7121b4d86d3","records":[{"revision":"225eaed6702d4743aaa0e7121b4d86d3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-vrxp-mg9f-hwf3","aliases":["CVE-2021-41087","GO-2022-0936"],"title":"Improperly Implemented path matching for in-toto-golang","description":"### Impact\nAuthenticated 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).\n\n### Patches\nThe problem has been fixed in version 0.3.0.\n\n### Workarounds\nExploiting this vulnerability is dependent on the specific policy applied.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [in-toto-golang](http://github.com/in-toto/in-toto-golang)\n* Email us at [in-toto-public](mailto:in-toto-public@googlegroups.com)\n* If this is a sensitive security-relevant disclosure, please send a PGP encrypted email to santiagotorres@purdue.edu or jcappos@nyu.edu\n","state":0,"publishedAt":"2021-09-22T20:37:09+00:00","modifiedAt":"2026-07-08T06:29:57.2067889+00:00","affected":[{"ecosystem":"Go","name":"github.com/in-toto/in-toto-golang","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.3.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/in-toto/in-toto-golang/security/advisories/GHSA-vrxp-mg9f-hwf3","https://nvd.nist.gov/vuln/detail/CVE-2021-41087","https://github.com/in-toto/in-toto-golang/commit/f2c57d1e0f15e3ffbeac531829c696b72ecc4290","https://github.com/in-toto/in-toto-golang"],"sourceUrl":"https://github.com/advisories/GHSA-vrxp-mg9f-hwf3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vrxp-mg9f-hwf3","identifiers":["GHSA-vrxp-mg9f-hwf3","CVE-2021-41087","GO-2022-0936"]},"retained":false,"historicalAffected":[]}],"coverage":[]}