Skip to content

Bump klauspost/compress to v1.18.7 and review the expired agent CVE exceptions - #493

Open
ai-collaboration-app[bot] wants to merge 2 commits into
stackstate-7.78.2from
cve-klauspost-compress-1.18.7
Open

Bump klauspost/compress to v1.18.7 and review the expired agent CVE exceptions#493
ai-collaboration-app[bot] wants to merge 2 commits into
stackstate-7.78.2from
cve-klauspost-compress-1.18.7

Conversation

@ai-collaboration-app

Copy link
Copy Markdown

Clears the one remaining compatible patch in the cve-reporter#29 batch and brings
the agent exception set back in line with what is now true.

klauspost/compress v1.18.5 → v1.18.7 (GO-2026-5841, OOB read in s2) across
the 19 workspace modules that pinned it, plus go work sync and per-module tidy.
datadogconnector and test/integration/serverless/src are outside go.work and
ship in neither image, so they are left for separate review.

Exceptions. All of them expired 2026-08-20, and the required re-check changes
most answers rather than the date:

Not in this PR: cryptography 48.0.1 → 50.0.0 is pinned in
stackstate-agent-integrations at the tag STACKSTATE_INTEGRATIONS_VERSION selects,
so it cannot be changed here until that tag ships (#484 / STAC-25514). Go 1.26.6,
x/mod v0.40.0, embedded Python 3.13.15 and etcd v3.6.14 are already on the
default branch.

Validation

  • cluster-agent (full CLUSTER_AGENT_TAGS) and process-agent build; both
    binaries embed compress v1.18.7 per go version -m.
  • A cluster-agent image carrying the rebuilt binary: Trivy 9 → 0, Grype 6 → 0,
    no new findings. Separate Trivy secret scan: 0 before and after. version
    smoke test reports go1.26.6.
  • pkg/util/compression and pkg/serializer pass with -tags test,zlib,zstd.
    TestAgentPayloadVersion fails identically on the base commit — it needs
    ldflags a plain go test does not set.

Reviewer note: the two GO-2026-5932 files fail exception.schema.json on
severity: UNKNOWN, which the enum does not model. Pre-existing, and the Go
evaluator does not enforce the schema.

Batch: https://github.com/StackVista/cve-reporter/issues/29
Finding revision: sha256:947695f5fdd8967e45a4d27e0b80e2dfb1bb4f8f8f1cff4c719de92eb9af3a0b
Tracking: #492

stackstate-ci and others added 2 commits August 21, 2026 14:41
GO-2026-5841 is an out-of-bounds read in github.com/klauspost/compress/s2,
introduced in 1.16.0 and fixed in 1.18.7. The agent and cluster-agent images
both still carried v1.18.5, and the exception covering it expired 2026-08-20.

Bumped in the 19 workspace modules that pinned v1.18.5, then re-synced with
go work sync and per-module go mod tidy; go work sync added the indirect
requirement to two more modules. datadogconnector (v1.18.0) and
test/integration/serverless/src (v1.17.11) are outside go.work and ship in
neither image, so they are left for separate review.

The GO-2026-5841 exceptions are dropped rather than renewed: with the fix in
source they would suppress a regression instead of documenting a gap.

Verified that the rebuilt cluster-agent and process-agent binaries embed
compress v1.18.7 via go version -m, and that a cluster-agent image carrying
the rebuilt binary reports zero Trivy and zero Grype findings, down from 9
and 6 on the published tag.

Refs: StackVista/cve-reporter#29
Tracking: #492

Co-authored-by: Cve Ticket Reconciler <cve-ticket-reconciler@stackstate.invalid>
Every stackstate-k8s-agent and stackstate-k8s-cluster-agent exception expired
on 2026-08-20. The SLA requires re-checking upstream at each renewal rather
than extending the date, and that re-check changes the answer for most of them.

Seven python entries are obsolete. They were written against the embedded
3.13.13 runtime, and the 3.13.15 bump in #463 already carries the fix: Grype
now lists 3.13.15 among the fixed versions for CVE-2025-15366, CVE-2026-0864,
CVE-2026-11940, CVE-2026-11972, CVE-2026-12003, CVE-2026-15308 and
CVE-2026-6879. Renewing them would have asserted an upstream gap that no
longer exists, and keeping them would suppress the findings if the interpreter
ever moved back.

CVE-2025-15367 and CVE-2026-4360 survive the re-check -- the first is fixed
only in the 3.15.0a6 pre-release, the second has no fixed version at all --
so they keep a short review deadline and their purl moves to 3.13.15 to match
what the image will contain.

CVE-2026-14456 is new, and is not a version bump. Scanners name 3.5.8, 3.6.4
and 4.0.2 as fixed, but none of those are released: the newest tags are 3.5.7,
3.6.3 and 4.0.1, and OSV enumerates all three as affected. 3.5.7 is already
what we pin. The vulnerable path is the QUIC server listener, which the agent
does not run. Without an entry the finding publishes unmanaged.

The cryptography entries keep a deadline on the SLA date and now name the
actual blocker: the version is pinned in stackstate-agent-integrations at the
tag STACKSTATE_INTEGRATIONS_VERSION selects, so it cannot be changed here.

Refs: StackVista/cve-reporter#29
Tracking: #492, #489, #484

Co-authored-by: Cve Ticket Reconciler <cve-ticket-reconciler@stackstate.invalid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant