PT-2020-19696 · Unknwon · Cae
Georgios Gkitsas
·
Published
2020-06-17
·
Updated
2022-01-01
·
CVE-2020-7668
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
github.com/unknwon/cae/tz (affected versions not specified)
Description
The issue arises from improper path sanitization in the ExtractTo function, which fails to securely escape file paths in zip archives containing leading or non-leading "..". This flaw allows an attacker to add or replace files system-wide. Archives with relative file paths can cause files to be written or overwritten outside the target directory.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cae