🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7423

Bug#1156325: witness: CVE-2026-77302 CVE-2026-77303 CVE-2026-77305 CVE-2026-77306

#7423
From: Salvatore Bonaccorso
Date: Fri, 04 Dec 2026 07:40
79 lines
5227 bytes
Source: witness
Version: 0.11.0-1
X-Debbugs-CC: team@security.debian.org
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
Technical Details
Message-ID: <O6w3D-fTwo-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156325: witness: CVE-2026-77302 CVE-2026-77303 CVE-2026-77305 CVE-2026-77306
Date: Fri, 04 Dec 2026 08:40:01 +0100
Message-ID: <O6w3D-fTwo-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 07:39:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1156325@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1156325
X-Debian-Pr-Package: src:witness
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: witness
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006883
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 79
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 4 Dec 2026 08:37:39 +0100
X-Original-Message-ID: <axJtw1qpEbjsGA3q@eldamar.lan>