Skip to content

fix(deps): upgrade github.com/jackc/pgx/v5 to 5.9.0 (COMP-2457) - #74

Closed
cristianrcv wants to merge 1 commit into
masterfrom
fix/COMP-2457-pgx-memory-safety-vulnerability
Closed

cristianrcv wants to merge 1 commit into
masterfrom
fix/COMP-2457-pgx-memory-safety-vulnerability

Conversation

@cristianrcv

Copy link
Copy Markdown
Contributor

Summary

  • Upgrades github.com/jackc/pgx/v5 from 5.7.6 to 5.9.0 (first patched release)
  • Resolves CVE-2026-33815 / GHSA-xgrm-4fwx-7qm8 (memory-safety vulnerability)
  • Side effects of go mod tidy: go directive 1.24.3 → 1.25.0 (required by pgx 5.9.0; CI already builds with 1.27.1), golang.org/x/sync 0.14.0 → 0.17.0, golang.org/x/text 0.25.0 → 0.29.0

Verification

  • go build ./..., go vet ./..., go mod verify — clean
  • go test ./... — all packages pass

JIRA

COMP-2457: Fix pgx contains memory-safety vulnerability

Security Advisory

https://github.com/seqeralabs/staticreg/security/dependabot/13

🤖 Generated with Claude Code

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>
@cristianrcv

Copy link
Copy Markdown
Contributor Author

Discarded in favour of #71

@cristianrcv
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant