Repository navigation
Bump dependencies to remediate grype vulnerabilities - #57
Merged
Merged
Conversation
- golang.org/x/net v0.54.0 => v0.62.0 - golang.org/x/text v0.37.0 => v0.43.0 - golang.org/x/mod v0.35.0 => v0.41.0 - google.golang.org/grpc v1.81.1 => v1.83.2 - github.com/crossplane/crossplane-runtime/v2 v2.3.1 => v2.3.3 The go directive moves to 1.26.0, required by the updated golang.org/x modules. CI already builds with Go 1.26.10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The function is built with CGO_ENABLED=0, so it does not need the libc and OpenSSL shipped in base-debian11, which carry unpatched CVEs. Debian 11 is also end-of-life. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jakubramut
approved these changes
Nov 19, 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.
Summary
Upgrades the modules grype flags as vulnerable to their fixed versions.
golang.org/x/netgolang.org/x/textgolang.org/x/modgoogle.golang.org/grpcgithub.com/crossplane/crossplane-runtime/v2Notes:
x/textandx/modare past their minimum fixed versions becausex/netv0.62.0 requires them. Othergolang.org/x/*modules moved up as transitive bumps.godirective moves from 1.25.10 to 1.26.10. The newx/*modules need at least 1.26.0, and 1.26.10 matchesGO_VERSIONin.github/workflows/ci.yml(also used for the Docker build).Runtime image
Switches the runtime base from
gcr.io/distroless/base-debian11togcr.io/distroless/static-debian13. The binary is built withCGO_ENABLED=0, so it doesn't need libc or OpenSSL, and Debian 11 is end-of-life. This removes the image-scan findings forlibc6(2.31-13+deb11u10),libssl1.1andopenssl(1.1.1w-0+deb11u1). Building with Go 1.26.10 also replaces the vulnerablegolang-stdlib1.25.5 found in the v0.2.0 image.Testing
go build ./...,go vet ./...,go test ./...passgrype dir:.→ No vulnerabilities foundGO_VERSION=1.26.10and ran/function --helpin it;grypefinds only GO-2026-6859 (Medium, Go stdlib, fixed in Go 1.26.11, which needs a CIGO_VERSIONbump in the shared workflows)🤖 Generated with Claude Code