-
Notifications
You must be signed in to change notification settings - Fork 769
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
Address CVE-2022-41721 #2545
Address CVE-2022-41721 #2545
Conversation
go.mod
Outdated
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 | ||
golang.org/x/text v0.3.7 | ||
golang.org/x/net v0.4.0 | ||
golang.org/x/text v0.5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much @VeronikaSolovei9 for putting out this fix PR! This definitely works but just curious, any reason for pinning the text package version to v0.5.0
? I see that the latest version for this package is 0.6.0. Should we/can we move to the latest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please move to the latest version available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for the /net package, the latest version is v0.5.0. Can we please pin it to that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though I'm also curious about https://github.com/prebid/prebid-server/pull/2545/files#r1088081338.
I put v0.4.0 because Trivy suggested to put this as a fixed version. I agree latest would be better. I checked it works with v0.5.0 Here I see latest version is 0.5.0, do I miss something? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The latest version of net
is v0.5.0
and the latest version of text
is v0.6.0
.
updated version of golang.org/x/net to v0.4.0