CVE-2022-29804

high

Description

Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.

References

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

https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ

https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290

https://go.dev/issue/52476

https://go.dev/cl/401595

Details

Source: Mitre, NVD

Published: 2022-08-10

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