Go Vulnerability Database
GO-2021-0228
Path traversal in github.com/unknwon/cae
Details
The ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/unknwon/cae | All versions before 1.0.1 (fixed in 1.0.1) |