Vulnerabilities · 2022 · Golang
CVE-2022-32190
Golang Go vulnerability
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.
Affected products
Go. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- go.dev/issue/54385 · Patch
- pkg.go.dev/vuln/GO-2022-0988 · Patch
- go.dev/cl/423514 · Patch
- groups.google.com/g/golang-announce/c/x49AQzIVX-s · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-32190
- cve.org/CVERecord?id=CVE-2022-32190
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.