HIGH7.5
GO-2022-0988
Failure to strip relative path components in net/url
Quick fix
GO-2022-0988 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.19.1Details
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.
Are you affected?
Enter the version of the package you're using.