You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fix][schema] Replace archived hamba/avro/v2 with maintained iskorotkov/avro/v2 fork
github.com/hamba/avro/v2 was archived in January 2026 and is no longer
maintained; the maintainer confirmed it and endorsed forking (hamba/avro#595).
It carries two advisories with no upstream fix: CVE-2026-46384
(GHSA-mc57-h6j3-3hmv) and CVE-2026-46385 (GHSA-w8j3-pq8g-8m7w).
Switch the Avro dependency to the maintained fork github.com/iskorotkov/avro/v2
v2.33.1, which carries the fixes/mitigations (recorded in golang/vulndb#5047
and #5046). It is a drop-in replacement -- same package name and the same
Parse/Marshal/Unmarshal API -- so the only code change is a single import-path
swap in pulsar/schema.go. The fork is wire-compatible: byte-identical Avro
output to hamba for the same schema, and each library cleanly decodes the
other's encoded bytes.
go mod tidy additionally prunes some already-orphaned indirect deps and applies
minor MVS-forced version bumps pulled in by the fork.
Signed-off-by: Travis Bischel <travis@redpanda.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments