Source: witness Version: 0.11.0-1 X-Debbugs-CC: [email protected] Severity: grave Tags: security upstream
Hi, The following vulnerabilities were published for witness. CVE-2026-77302[0]: | go-witness and witness are Go modules for generating attestations. | Prior to version 0.12.0, a signature-verification bypass lets any | party who can obtain a certificate under the trusted root forge a | policy that the verifier accepts as signed by a trusted identity. | The policy-signature check confers signer trust on a certificate | that merely chains to a trusted root and matches the configured | identity constraints, even when that certificate's signature over | the policy never verified. With Sigstore keyless signing, obtaining | such a certificate is common (any accepted OIDC identity), and the | impersonated identity's certificate is public, so this is an | unauthenticated forgery of the policy. This issue has been patched | in version 0.12.0. CVE-2026-77303[1]: | go-witness and witness are Go modules for generating attestations. | Prior to version 0.12.0, the cross-step artifact check compares a | step's materials against the referenced step's artifacts in one | direction only, and treats an empty path-overlap as a pass. As a | result an artifactsFrom edge, which is meant to prove that one step | consumed the artifacts another step produced, can be satisfied by a | downstream collection that shares no files at all with the upstream | step. The provenance link the policy author relied on is not | actually enforced. This issue has been patched in version 0.12.0. CVE-2026-77305[2]: | 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. CVE-2026-77306[3]: | go-witness and witness are Go modules for generating attestations. | Prior to version 0.12.0, RecordArtifacts resolves a symbolic link | with filepath.EvalSymlinks and then recurses into the resolved path | with no check that the target stays within the base path being | attested. A symlink in the attested directory tree that points | outside it causes the file attestor to open, hash, and record the | out-of-tree target. Running witness run over an attacker-influenced | directory (a checked-out repository, a pull-request build, an | unpacked archive) therefore reads files outside the intended | workspace (secrets, system files) and records their digests and | paths into the attestation. This issue has been patched in version | 0.12.0. All are fixed in the upstream tag v0.12.0. If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-77302 https://www.cve.org/CVERecord?id=CVE-2026-77302 [1] https://security-tracker.debian.org/tracker/CVE-2026-77303 https://www.cve.org/CVERecord?id=CVE-2026-77303 [2] https://security-tracker.debian.org/tracker/CVE-2026-77305 https://www.cve.org/CVERecord?id=CVE-2026-77305 [3] https://security-tracker.debian.org/tracker/CVE-2026-77306 https://www.cve.org/CVERecord?id=CVE-2026-77306 Regards, Salvatore

