CVE-2022-32190

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
Link Resource
https://go.dev/cl/423514 Patch Release Notes
https://groups.google.com/g/golang-announce/c/x49AQzIVX-s Mailing List Third Party Advisory
https://pkg.go.dev/vuln/GO-2022-0988 Issue Tracking Patch Vendor Advisory
https://go.dev/issue/54385 Issue Tracking Patch Vendor Advisory
Advertisement

NeevaHost hosting service

Configurations

Configuration 1 (hide)

OR 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:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.19.0:-:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

Information

Published : 2022-09-13 11:15

Updated : 2023-03-03 07:40


NVD link : CVE-2022-32190

Mitre link : CVE-2022-32190


JSON object : View

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Advertisement

dedicated server usa

Products Affected

golang

  • go