GitHub Advisoryadvisory · Go

GHSA-273p-m2cw-6833 Rekor's COSE v0.0.1 entry type nil pointer dereference in Canonicalize via empty Message

MEDIUM Published 2026-01-22 Modified 2026-01-23 Official page ↗
Aliases
CVE-2026-23831
Ecosystem
Go
Packages
github.com/sigstore/rekor
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-476
Reviewed
2026-01-22

Affected packages

• Go github.com/sigstore/rekor: < 1.5.0 → fixed in 1.5.0

Description

Summary Rekor’s cose v0.0.1 entry implementation can panic on attacker-controlled input when canonicalizing a proposed entry with an empty `spec.message`. `validate()` returns nil (success) when `message` is empty, leaving `sign1Msg` uninitialized, and `Canonicalize()` later dereferences `v.sign1Msg.Payload`. Impact A malformed proposed entry of the `cose/v0.0.1` type can cause a panic on a thread within the Rekor process. The thread is recovered so the client receives a 500 error message and service still continues, so the availability impact of this is minimal. Patches Upgrade to v1.5.0 Workarounds None

Related

Alias · CVE (1)

  • CVE-2026-23831 Rekor is a software supply chain transparency log. vulnerability

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References