CVE-2022-41722
HIGH7.5EPSS 0.33%Path traversal on Windows in path/filepath
發布日:2023/2/16修改日:2026/4/28
也稱為:DEBIAN-CVE-2022-41722
描述
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".
受影響套件(4)
- Bitnami/golangfrom 0, < 1.19.6, >= 1.20.0, < 1.20.1
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0, < 1.19.6-2
- Go/stdlibfrom 0, < 1.19.6, >= 1.20.0-0, < 1.20.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |