Lack of data validation - Path Traversal In stdlib
Description
Path traversal via Clean on Windows in path/filepath On Windows, the filepath.Clean function can convert certain invalid paths to valid, absolute paths, potentially allowing a directory traversal attack.
For example, Clean(".\c:") returns "c:".
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
go | 1.17.11 |
Aliases
1. 2. 3. 4. 5.
References
1. 2. 3. 4.