fix(deps): fix Go dependency vulnerabilities on alauda-v0.43.0 - #91
Conversation
alaudabot
commented
Apr 22, 2026
- upgrade github.com/tektoncd/pipeline to v1.11.1 to address CVE-2026-25542, CVE-2026-40923, CVE-2026-40924, and CVE-2026-40938
- upgrade OTLP HTTP exporters to v1.43.0 to address CVE-2026-39882
- pin knative.dev/pkg to a compatible revision so the updated pipeline dependency graph still resolves with the existing triggers dependency set
- refresh vendored dependencies and confirm Trivy re-scan for go.mod and tools/go.mod returns 0 fixable vulnerabilities
- upgrade github.com/tektoncd/pipeline to v1.11.1 for CVE-2026-25542, CVE-2026-40923, CVE-2026-40924, and CVE-2026-40938 - upgrade OTLP HTTP exporters to v1.43.0 for CVE-2026-39882 - vendor updated modules and pin knative.dev/pkg to a compatible revision for the new pipeline dependency graph
alaudabot
left a comment
There was a problem hiding this comment.
Summary
This PR upgrades Go dependencies to patch multiple CVEs (CVE-2026-25542, CVE-2026-40923, CVE-2026-40924, CVE-2026-40938, CVE-2026-39882) and refreshes vendored dependencies across 2126 files. Key upgrades include tektoncd/pipeline v1.6.1→v1.11.1, OTLP HTTP exporters to v1.43.0, and Kubernetes libraries to v0.35.3. A replace directive pins knative.dev/pkg to a compatible pseudo-version to maintain resolution with the existing tektoncd/triggers dependency set.
Review Statistics
| Category | Count |
|---|---|
| Critical Issues | 0 |
| Warnings | 0 |
| Suggestions | 3 |
Suggestions
-
go.modline 372: Add a comment above thereplace knative.dev/pkgdirective explaining why this specific pseudo-version is pinned (e.g., required for compatibility withtektoncd/triggersv0.34.0). -
go.modline 369: Thereplace github.com/sigstore/timestamp-authoritydirective references a personal fork. Verify it is actively maintained or consider upstreaming the security fix. -
go.modlines 26–32: The Kubernetes library triple andtektoncd/pipelineare upgraded concurrently. Consider adding integration test coverage for the new Kubernetes library versions.
Positive Feedback
- Excellent PR description with explicit CVE references and clear rationale.
- All relevant CVEs addressed with appropriate library upgrades.
gogo/protobuffully removed from the vendor tree.go.sumupdated consistently withgo.mod.- Vendor refresh appears complete and consistent.
Status: No blocking issues found.
🤖 AI Code Review
SummaryThis PR fixes Go dependency vulnerabilities by upgrading Review Statistics
Critical Issues
None identified. This is a security-focused dependency upgrade with appropriate fixes. Warnings
None identified. Suggestions
Positive FeedbackThe PR demonstrates good security practices:
Review Note: Given the large number of changed files (2,132), this review focused on non-vendor source code changes. The vendor directory updates are automated dependency refreshes and do not warrant manual inspection. ℹ️ About this reviewThis review was automatically generated using the
|
- drop the removed knative test metrics exporter initialization - keep formatted output color handling aligned with color.NoColor under newer fatih/color behavior
- validate plugin names before resolving plugin binaries - use DirEntry metadata directly when listing plugin executables - document the intentional plugin exec path for gosec