Improperly Implemented path matching for in-toto-golangGHSA-vrxp-mg9f-hwf3
MEDIUMFix: in-toto/in-toto-golang@f2c57d1GHSA-vrxp-mg9f-hwf3 is a medium-severity (CVSS 5.6) CWE-345 vulnerability in github.com/in-toto/in-toto-golang. A fix is available for github.com/in-toto/in-toto-golang — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-vrxp-mg9f-hwf3 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/in-toto/in-toto-golangReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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
- Email us at in-toto-public
- If this is a sensitive security-relevant disclosure, please send a PGP encrypted email to [email protected] or [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/in-toto/in-toto-golang | all versions | 0.3.0go get github.com/in-toto/in-toto-golang@v0.3.0 |
Affected Products
in-toto-golangin-totoDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/in-toto/in-toto-golang, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/in-toto/in-toto-golang to 0.3.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vrxp-mg9f-hwf3 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-vrxp-mg9f-hwf3 in your dependencies?
Find it across Go, including transitive dependencies.