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
I want to see only vulnerability reports that are targeted for the running Go version.
URL.JoinPath is a new API available since Go 1.19, so 1.18.6 is not vulnerable.
What did you see instead?
I got
=== Informational ===
The vulnerabilities below are in packages that you import, but your code
doesn't appear to call any vulnerable functions. You may not need to take any
action. See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
for details.
Vulnerability #1: GO-2022-0988
JoinPath and URL.JoinPath do not remove ../ path elements appended
to a relative path. For example, JoinPath("https://go.dev", "../go")
returns the URL "https://go.dev/../go", despite the JoinPath documentation
stating that ../ path elements are removed from the result.
Found in: net/url@go1.18.6
Fixed in: net/url@go1.19.1
More info: https://pkg.go.dev/vuln/GO-2022-0988
make: *** [Makefile:153: govulncheck] Error 3
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce at the latest version of golang.org/x/vuln?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I run
govulncheck ./...
on https://github.com/zalando/skipper with Go 1.18.6What did you expect to see?
I want to see only vulnerability reports that are targeted for the running Go version.
URL.JoinPath is a new API available since Go 1.19, so 1.18.6 is not vulnerable.
What did you see instead?
I got
The text was updated successfully, but these errors were encountered: