ADVISORIES

GitHub Advisory Database

GHSA-vpx7-vm66-qx8r

Path Traversal in github.com/unknwon/cae/zip

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.

Specific Go Packages Affected

github.com/unknwon/cae/zip

Affected packages

EcosystemPackageAffected versions
Gogithub.com/unknwon/cae
All versions before 1.0.1 (fixed in 1.0.1)

References