Repository navigation
Bump otel, x/net and x/crypto to clear trivy findings - #855
Merged
Merged
Conversation
- trivy reports fixable findings in the agent image: otel CVE-2026-128085 (fixed in v1.47.0), x/net/html CVE-2026-78661 and CVE-2026-97045 (fixed in v0.62.0) and x/crypto GO-2026-5932. - Dependabot cannot open these PRs because the repo depends on the private venafi-connection-lib. - x/sync, x/sys, x/term and x/text move up with the new x/net and x/crypto. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Richard Wall <richard.wall@cyberark.com>
wallrj-cyberark
commented
Nov 27, 2026
wallrj-cyberark
left a comment
Contributor
Author
There was a problem hiding this comment.
I made the change with go get golang.org/x/crypto@v0.59.0 golang.org/x/net@v0.63.0 go.opentelemetry.io/otel@v1.47.0 go.opentelemetry.io/otel/trace@v1.47.0 and go mod tidy. Everything else in go.mod and go.sum follows from that.
| github.com/spf13/pflag v1.0.10 | ||
| github.com/stretchr/testify v1.12.1 | ||
| golang.org/x/sync v0.23.0 | ||
| golang.org/x/sync v0.25.0 |
Contributor
Author
There was a problem hiding this comment.
This is the only direct dependency that changes. The new x/net and x/crypto need x/text v0.44.0, and x/text v0.44.0 needs x/sync v0.25.0.
| go.opentelemetry.io/otel v1.46.0 // indirect | ||
| go.opentelemetry.io/otel/trace v1.46.0 // indirect | ||
| go.opentelemetry.io/otel v1.47.0 // indirect | ||
| go.opentelemetry.io/otel/trace v1.47.0 // indirect |
Contributor
Author
There was a problem hiding this comment.
otel/trace is the module trivy flags for CVE-2026-128085. It reaches the binary through k8s.io/component-base/metrics, which pkg/logs imports.
mladen-rusev-cyberark
approved these changes
Nov 27, 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.
trivy reports four fixable findings in the agent binary built from master. This PR fixes all four by bumping three indirect dependencies:
go.opentelemetry.io/otel(and/trace)golang.org/x/netgolang.org/x/cryptox/sync,x/sys,x/termandx/textmove up with the newx/netandx/crypto. govulncheck did not flag any of these, because the agent does not call the affected code. We want them fixed before the next release so that image scans come back clean.Dependabot raised alert 30 for the otel finding, but it cannot open the PR. The repo is public and depends on the private venafi-connection-lib, which Dependabot cannot fetch. Renovate has not run on this repo since 69e091f removed its workflow in December 2025. So for now these bumps have to be made by hand.
How I tested it
trivy rootfs --scanners vuln --ignore-unfixedon a binary built from master: 4 findings (the ones in the table). On a binary built from this branch: 0.make verify-govulncheckpasses: "No vulnerabilities found".make verifypasses.make test-unitpasses: 467 tests, 4 skipped.Prior art: #834, which bumped x/crypto and x/net for trivy findings.
[with Claude]