Skip to content

fix(nexus): remediate Go dependency vulnerabilities - #4093

Open
plural-copilot[bot] wants to merge 1 commit into
masterfrom
agent/remediate-nexus-deps-1788308264776
Open

fix(nexus): remediate Go dependency vulnerabilities#4093
plural-copilot[bot] wants to merge 1 commit into
masterfrom
agent/remediate-nexus-deps-1788308264776

Conversation

@plural-copilot

@plural-copilot plural-copilot Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Plural Service: mgmt/console
  • Update the Nexus source module used to build ghcr.io/pluralsh/nexus; no GitOps image tag was changed.
  • Resolve CVE-2026-56854 / GO-2026-6303 with golang.org/x/crypto v0.55.0 (from v0.53.0).
  • Resolve CVE-2026-55245 / GHSA-w98g-5w9p-p3rc with github.com/maximhq/bifrost/core v1.5.17 (from v1.5.10).
  • Accept only compatible indirect-module updates required by the Bifrost upgrade / Go resolution.

Validation

  • docker run --rm --user "${uid}:${gid}" -e GOWORK=off -e GOCACHE=/tmp/gocache -e GOPATH=/tmp/gopath -v "$PWD:/src" -w /src/go/nexus golang:1.26.6-alpine sh -lc '/usr/local/go/bin/go get github.com/maximhq/bifrost/core@v1.5.17 golang.org/x/crypto@v0.55.0 && /usr/local/go/bin/go mod tidy' — passed.
  • docker run --rm --user "${uid}:${gid}" -e GOWORK=off -e GOCACHE=/tmp/gocache -e GOPATH=/tmp/gopath -v "$PWD:/src" -w /src/go/nexus golang:1.26.6-alpine sh -lc '/usr/local/go/bin/go list -m all | grep -E "^(github.com/maximhq/bifrost/core|golang.org/x/crypto) " && /usr/local/go/bin/go mod graph | grep -E "github.com/pluralsh/console/go/nexus (github.com/maximhq/bifrost/core|golang.org/x/crypto)@"' — passed; confirmed final resolved versions v1.5.17 and v0.55.0.
  • docker run --rm --user "${uid}:${gid}" -e GOWORK=off -e GOCACHE=/tmp/gocache -e GOPATH=/tmp/gopath -v "$PWD:/src" -w /src/go/nexus golang:1.26.6 sh -lc '/usr/local/go/bin/go test -race -count=1 ./... && /usr/local/go/bin/go build -o /tmp/nexus ./cmd/main.go' — passed.
  • docker build --pull -f go/nexus/Dockerfile -t nexus-remediation-validation:local go/nexus — passed.
  • git diff --check — passed; only go/nexus/go.mod and go/nexus/go.sum changed.

Residual advisory

GO-2026-5932 / golang.org/x/crypto/openpgp remains blocked and out of scope because no fixed version is available. It was intentionally not remediated.

Follow-up

Publish a rebuilt Nexus image/release from this source change, then separately update the deployment image tag after that image is available.

@plural-copilot plural-copilot Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:

Name Details
💬 Prompt Create a single source-remediation PR for the Nexus image used by Plural Service mgmt/console....
🔗 Run history View run history

@github-actions github-actions Bot added the enhancement New feature or request label Sep 2, 2026
@soffi-ai

soffi-ai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Soffi AI Summary

This PR remediates two active Go dependency vulnerabilities in the go/nexus LLM gateway module by upgrading the affected packages to their patched versions. No application logic or deployment image tags were changed — only go.mod and go.sum were modified.

CVEs addressed:

Several indirect dependencies were also updated as required by the resolution graph (andybalholm/brotli, bytedance/sonic, valyala/fasthttp, golang.org/x/net, golang.org/x/sys, golang.org/x/text). One advisory (GO-2026-5932 for golang.org/x/crypto/openpgp) was intentionally left unaddressed because no fixed version is available.

All changes were validated with a clean go mod tidy, go test -race, and a successful docker build of the Nexus image.

Changes

Nexus Go dependency vulnerability remediation

  • Upgraded github.com/maximhq/bifrost/core (v1.5.10 → v1.5.17) and golang.org/x/crypto (v0.53.0 → v0.55.0) in go/nexus to patch CVE-2026-55245 and CVE-2026-56854 respectively. Updated compatible indirect dependencies (andybalholm/brotli, bytedance/sonic, valyala/fasthttp, golang.org/x/net/sys/text) as required by the Go module resolution graph. Validated with go mod tidy, go test -race, and a full Docker build. (74f63b5)

Updated: 2026-09-02 00:18 UTC

Deploy in Soffi

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgolang/​github.com/​bytedance/​sonic@​v1.15.175100100100100
Updatedgolang/​github.com/​maximhq/​bifrost/​core@​v1.5.10 ⏵ v1.5.1775 +1100 +16100100100

View full report

@greptile-apps

greptile-apps Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Updates the Nexus Go dependency graph to remediate vulnerabilities in Bifrost and x/crypto without changing the deployed image tag.

  • Upgrades github.com/maximhq/bifrost/core from v1.5.10 to v1.5.17.
  • Upgrades golang.org/x/crypto from v0.53.0 to v0.55.0.
  • Records compatible direct and indirect module updates selected by Go dependency resolution.

Confidence Score: 5/5

The PR appears safe to merge based on the dependency changes and documented validation.

The changed module versions and checksums are internally consistent, while the remaining detected advisories are either unchanged from the base revision or explicitly acknowledged as an unfixed residual issue.

Important Files Changed

Filename Overview
go/nexus/go.mod Updates the Bifrost, x/crypto, Sonic, fasthttp, Brotli, and related Go module versions; no changed-code-triggered defect was identified.
go/nexus/go.sum Synchronizes module checksums with the resolved dependency upgrades and introduces no independently actionable issue.

Reviews (1): Last reviewed commit: "fix(nexus): remediate Go dependency vuln..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant