Path Traversal in github.com/unknwon/cae/zip
High severity
GitHub Reviewed
Published
May 18, 2021
to the GitHub Advisory Database
•
Updated Oct 2, 2023
Description
Published by the National Vulnerability Database
Jun 23, 2020
Reviewed
May 12, 2021
Published to the GitHub Advisory Database
May 18, 2021
Last updated
Oct 2, 2023
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.
Specific Go Packages Affected
github.com/unknwon/cae/zip
References