CVE-2022-32190

Name
CVE-2022-32190
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://go.dev/cl/423514
CONFIRM https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
CONFIRM https://pkg.go.dev/vuln/GO-2022-0988
CONFIRM https://go.dev/issue/54385
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXKTHIGE5F576MAPFYCIJXNRGBSPISUF/
Third Party Advisory https://security.gentoo.org/glsa/202209-26

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:golang:go:1.19.0:beta1:*:*:*:*:*:* go == None == 1.19.0
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* go >= 1.18.0 < 1.18.6

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
go edge-community 1.19.1-r0 Sören Tempel <soeren+alpine@soeren-tempel.net> fixed
go edge-community 1.18.5-r0 Sören Tempel <soeren+alpine@soeren-tempel.net> possibly vulnerable
go edge-community 1.18.4-r0 None possibly vulnerable
go edge-community 1.18.1-r0 None possibly vulnerable
go 3.22-community 1.19.1-r0 None fixed
go 3.22-community 1.18.5-r0 None possibly vulnerable
go 3.22-community 1.18.4-r0 None possibly vulnerable
go 3.22-community 1.18.1-r0 None possibly vulnerable
go 3.21-community 1.19.1-r0 None fixed
go 3.20-community 1.19.1-r0 None fixed
go 3.19-community 1.19.1-r0 None fixed
go 3.18-community 1.19.1-r0 None fixed
go 3.17-community 1.19.1-r0 None fixed