You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CVE-2024-45338 is an issue with golang.org/x/net/html < 0.33.0. While this version is no longer in use because it was recently upgraded, the usage of github.com/google/s2a-go@v0.1.8 causes it to be included transitively.
> go mod graph | grep -v golang.org/x/net@v0.33. | grep " golang.org/x/net@v0."
github.com/google/martian/v3@v3.3.3 golang.org/x/net@v0.0.0-20190628185345-da137c7871d7
github.com/googleapis/gax-go/v2@v2.14.0 golang.org/x/net@v0.30.0
...
output truncated
There's a lot of libraries that transitively include golang.org/x/net at older versions. s2a-go is just one library that has been updated with a fix. Likely all the dependencies will need to be updated for a complete fix.
The text was updated successfully, but these errors were encountered:
I do not think this is an actual issue. The way Go's MVS for dependencies work is a single version is chosen of a given dependency at a major version. A good way to verify this is to simply run go mod vendor on a module and see which version is calculated. I did not check, but am confident you will find it chooses 0.33.0.
That said we should upgrade s2a regardless, but I do not believe the dependencies at HEAD are susceptible to this issue. But if I am wrong, please correct me.
Client
all.
Additional context
CVE-2024-45338 is an issue with
golang.org/x/net/html < 0.33.0
. While this version is no longer in use because it was recently upgraded, the usage ofgithub.com/google/s2a-go@v0.1.8
causes it to be included transitively.There's a lot of libraries that transitively include
golang.org/x/net
at older versions. s2a-go is just one library that has been updated with a fix. Likely all the dependencies will need to be updated for a complete fix.The text was updated successfully, but these errors were encountered: