Repository navigation
fix(deps): upgrade github.com/jackc/pgx/v5 to 5.9.0 (COMP-2457) - #74
Closed
cristianrcv wants to merge 1 commit into
Closed
cristianrcv wants to merge 1 commit into
cristianrcv wants to merge 1 commit into
Conversation
pgx before v5.9.0 contains a memory-safety vulnerability. 5.9.0 is the first patched release, and it requires the go directive to move to 1.25.0 (CI already builds with 1.27.1). go mod tidy also pulled golang.org/x/sync and golang.org/x/text forward. Addresses CVE-2026-33815 / GHSA-xgrm-4fwx-7qm8 See: https://github.com/seqeralabs/staticreg/security/dependabot/13 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Discarded in favour of #71 |
cristianrcv
deleted the
fix/COMP-2457-pgx-memory-safety-vulnerability
branch
September 14, 2026 16:58
cristianrcv
added a commit
that referenced
this pull request
Sep 15, 2026
PR #74 and #75 both proposed this upgrade to 5.9.0 and were closed without merging, so pgx stayed on the vulnerable 5.7.6 on master while COMP-2457/2458 read as resolved. This reopens the fix. Targets 5.9.2 rather than the advisories' minimum 5.9.0 so that the low-severity alert 11 (< 5.9.2) is cleared in the same change as the two critical alerts 10 and 13 (< 5.9.0). The go directive and the sibling golang.org/x modules are already current from the merged x/crypto upgrade (#71), so the diff is limited to go.mod and go.sum. Verified: go mod verify, go build ./..., go vet ./... and go test ./... all pass. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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
github.com/jackc/pgx/v5from5.7.6to5.9.0(first patched release)go mod tidy:godirective1.24.3→1.25.0(required by pgx 5.9.0; CI already builds with 1.27.1),golang.org/x/sync0.14.0→0.17.0,golang.org/x/text0.25.0→0.29.0Verification
go build ./...,go vet ./...,go mod verify— cleango test ./...— all packages passJIRA
COMP-2457: Fix pgx contains memory-safety vulnerability
Security Advisory
https://github.com/seqeralabs/staticreg/security/dependabot/13
🤖 Generated with Claude Code