CVE-2022-32190

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
13/09/2022
Last modified:
07/11/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:golang:go:1.19.0:-:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.19.0:beta1:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.19.0:rc1:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.19.0:rc2:*:*:*:*:*:*