Description
go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, artifact equality silently downgrades to the weakest hash function the two digest sets have in common. An attacker who presents an artifact described only by a weak digest (SHA-1) is deemed equal to a fully-described trusted artifact when the SHA-1 values match, even though the strong (SHA-256) digests differ or are absent. This issue has been patched in version 0.12.0.
Severity (CVSS)
| Base score | 5.6 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-328 — CWE-328: Use of Weak Hash
- CWE-354 — CWE-354: Improper Validation of Integrity Check Value
Affected products
| Vendor | Product | Versions |
|---|---|---|
| in-toto | go-witness | < 0.12.0 [affected] |
References
- https://github.com/in-toto/go-witness/security/advisories/GHSA-pgpm-j729-qcvh (x_refsource_CONFIRM)
- https://github.com/in-toto/go-witness/pull/784 (x_refsource_MISC)
- https://github.com/in-toto/go-witness/commit/2f6295cb342a893a460fe85bacb8f5ee0e41eb69 (x_refsource_MISC)
- https://github.com/in-toto/go-witness/releases/tag/v0.12.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 04 Dec 2026 08:01 UTC.