CVE-2020-7664

Arbitrary File Write via Archive Extraction (Zip Slip)

State
Published
Severity
7.5 High
Published
Jun 17, 2020
Updated
Sep 17, 2024
Reserved
Jan 21, 2020

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:Csnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
github.com/unknwon/cae/zipn/a
  • before unspecifiedAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.