A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as "a/../c:/b" into the valid path "c:\b". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path ".\c:\b".
References
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: Go

Published: 2023-02-28T17:19:41.324Z

Updated: 2023-06-12T19:05:50.152Z

Reserved: 2022-09-28T17:00:06.610Z


Link: CVE-2022-41722

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2023-02-28T18:15:09.887

Modified: 2023-11-07T03:52:55.580


Link: CVE-2022-41722

JSON object: View

cve-icon Redhat Information

No data.

CWE