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".
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

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

Updated: 2024-08-03T12:49:43.602Z

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

Link: CVE-2022-41722

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T07:23:44.303

Link: CVE-2022-41722

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-02-15T00:00:00Z

Links: CVE-2022-41722 - Bugzilla