CVE-2021-41087 json
Improperly Implemented path matching for in-toto-golang
published 5y ago modified 4mo ago also GHSA-vrxp-mg9f-hwf3 , GO-2022-0936 , EUVD-2021-2118
- cvss
- 5.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/in-toto/in-toto-golang 0.3.0
- in-toto in-toto-golang 0.3.0
Is CVE-2021-41087 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 5.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/in-toto/in-toto-golang | <0.3.0 |
0.3.0 |
Affected products
- in-toto in-toto-golang
Classification
References
-
github.com
/in-toto/in-toto-golang/commit/f2c57d1e0f15e3ffbeac531829c696b72ecc4290
web, patch, third-party-advisory
-
github.com
/in-toto/in-toto-golang/security/advisories/GHSA-vrxp-mg9f-hwf3
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41087
advisory
-
github.com
/in-toto/in-toto-golang
package
Sources
- CVE List CVE-2021-41087
- GitHub Advisory GHSA-vrxp-mg9f-hwf3
- NVD CVE-2021-41087
- OSV GO-2022-0936
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.