CVE-2020-7668 HIGH

CVE-2020-7668: Arbitrary File Write via Archive Extraction (Zip Slip)

Vendor N/A
Product github.com/unknwon/cae/tz
Published June 17, 2020
Last update September 17, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:C

What the vulnerability does

01Description

In all versions of the package github.com/unknwon/cae/tz, 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.

Key dates

02Disclosure timeline

June 17, 2020 CVE published
September 17, 2024 Record updated