CVE Explore

Path Traversal in Golang Go

CVE-2022-32190

CVSS v3
7.5 High
Public exploits
None known
EPSS
0.023 · 83.6th percentile
Published
2022-09-13

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.023, 83.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 5 other repositories (ARPSyndicate/cvemon, chair6/test-go-container-images, cokeBeer/go-cves, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References