CVE-2022-32190

high

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.

References

https://pkg.go.dev/vuln/GO-2022-0988

https://groups.google.com/g/golang-announce/c/x49AQzIVX-s

https://go.dev/issue/54385

https://go.dev/cl/423514

Details

Source: Mitre, NVD

Published: 2022-09-13

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High