Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update golang.org/x/crypto v0.27.0 => v0.31.0 to fix vulnerability #2189

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

pankona
Copy link
Contributor

@pankona pankona commented Dec 12, 2024

Hi!

This is a vulnerability report related to golang.org/x/crypto. GHSA-v778-237x-gjrc
It says the vulnerability is fix golang.org/x/crypto v0.31.0 or after. pgx is now depends on v0.27.0. How about to update it to v0.31.0? Thanks!


I've do followings:

  • Update go.mod to bump crypto version to v0.31.0
  • Then go mod tidy

@jackc jackc merged commit 3e6c719 into jackc:master Dec 13, 2024
14 checks passed
@jackc
Copy link
Owner

jackc commented Dec 13, 2024

I suppose we can placate vulnerability scanners, but pgx actually doesn't use the vulnerable functionality in golang.org/x/crypto.

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.

2 participants