Bump x/net to 0.55.0 and refresh OS packages to clear Trivy HIGH CVEs#111
Merged
Conversation
The daily Trivy CRITICAL/HIGH scan was failing on cortex-axon-agent with fixable HIGH findings from two in-repo sources: - golang.org/x/net v0.51.0 (indirect): 6 CVEs (CVE-2026-25680/25681/27136/ 39821/42502/42506, plus CVE-2026-33814). Bumped to v0.55.0 via go get (pulls x/sys 0.45.0, x/text 0.37.0). - OS packages linux-libc-dev and libssh2 (Debian 13): fixes are already in the archive; bump APT_CACHE_BUST to invalidate the stale cached apt layer and force apt-get upgrade to re-fetch, per the documented mechanism. The remaining 2 findings (npm form-data, ws) live in the snyk-broker repo cloned at build time, addressed separately. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
v1.0.16-axon carries the form-data 4.0.6, ws 8.21.0, and js-yaml 4.3.0 bumps (cortexapps/snyk-broker#25), clearing the 3 remaining Trivy HIGH findings the broker contributed to the cortex-axon-agent image. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
AFrieze
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The daily Scan for Vulnerabilities (Trivy) workflow has been failing on
cortex-axon-agent— 51 fixable CRITICAL/HIGH findings. They come from three sources; this PR fixes the two that live in this repo (~49 of 51):golang.org/x/netv0.51.0 (indirect)linux-libc-dev,libssh2(Debian 13)form-data,wsFix
agent/go.mod—go get golang.org/x/net@v0.55.0(pullsx/sys0.45.0,x/text0.37.0). Clears CVE-2026-25680/25681/27136/39821/42502/42506 and CVE-2026-33814.docker/Dockerfile— bumpAPT_CACHE_BUST2026-06-11 → 2026-06-29. This is the mechanism documented in the Dockerfile itself: the fixed OS packages are already in Debian's archive, and bumping the bust invalidates the stale cachedapt-get upgradelayer so they get re-fetched.Not covered here
The remaining 2 findings —
form-data4.0.4→4.0.6 andws8.20.1→8.21.0 — are pulled in bycortexapps/snyk-broker(cloned andnpm installed at image-build time, pinned viaSNYK_BROKER_VERSION). The fix belongs in that repo's lockfile, then aSNYK_BROKER_VERSIONbump here. Tracking separately.Session: 58ae38a7 · Worktree: scratchpad clone
🤖 Generated with Claude Code