Skip to content

Bump golang.org/x/crypto to v0.31.0 to address CVE-2024-45337 #301

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

yashisrani
Copy link
Contributor

@yashisrani yashisrani commented Jan 22, 2025

fixed #300

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

  • This PR updates the golang.org/x/crypto dependency to version v0.31.0 to address a critical security vulnerability (GO-2024-3321, CVE-2024-45337).

Changes Made

  • Updated golang.org/x/crypto to v0.31.0 in go.mod.
  • Verified the update by running go test ./..., and all tests passed successfully.

Testing

  • Run go test ./... with the updated dependency.
  • All tests passed successfully.
Screen Shot 2025-01-22 at 10 39 03 PM

User Case Description

  • The previous version of golang.org/x/crypto contained a vulnerability that could compromise the security of applications using this dependency. Updating to v0.31.0 mitigates the issue.

References

@jinzhu jinzhu merged commit dcfe4ea into go-gorm:master Mar 10, 2025
1 check passed
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.

golang.org/x/[email protected] vulnerability
2 participants