Repository navigation
fix(deps): upgrade github.com/jackc/pgx/v5 to 5.9.2 (COMP-2457) - #78
Merged
Merged
Conversation
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>
cristianrcv
requested review from
a team,
alberto-miranda and
munishchouhan
September 14, 2026 16:58
alberto-miranda
approved these changes
Sep 15, 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
github.com/jackc/pgx/v5fromv5.7.6tov5.9.2.Why this is being reopened: PRs #74 and #75 both proposed this upgrade (to 5.9.0) and were both closed without merging during a de-duplication pass. The result was that pgx stayed on the vulnerable
5.7.6onmaster, while COMP-2457 and COMP-2458 were left reading as resolved. The vulnerability is still live onmastertoday.Why 5.9.2 and not 5.9.0
Targeting 5.9.2 clears three open Dependabot alerts in one change rather than leaving one behind:
< 5.9.0< 5.9.0< 5.9.2Scope of the diff
Limited to
go.modandgo.sum(5 insertions, 5 deletions). Thegodirective and the siblinggolang.org/xmodules are already current from the merged x/crypto upgrade (#71), so none of the cascading version bumps seen in the earlier attempts are needed here.Verification
go mod verify(all modules verified),go build ./...,go vet ./...andgo test ./...all pass.JIRA
COMP-2457: Fix pgx contains memory-safety vulnerability
Also resolves COMP-2458 (same upgrade, duplicate ticket).
🤖 Generated with Claude Code