hoch7.5
CVE-2022-32190
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Produkte · Golang
| Produkt | Betroffene Versionen |
|---|---|
| Go | Version 1.19.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- https://go.dev/cl/423514
- https://go.dev/issue/54385
- https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
- https://pkg.go.dev/vuln/GO-2022-0988
- https://go.dev/cl/423514
- https://go.dev/issue/54385
- https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
- https://pkg.go.dev/vuln/GO-2022-0988