Security mailing lists by PureSourceCode

CVE-2020-7664

HIGH 7.5CVSS 3.1

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

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.

Published
23 Jun 2020
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-vpx7-vm66-qx8rGO-2021-0228
Sources
NVDJSONOSV GHSA-vpx7-vm66-qx8rJSONOSV GO-2021-0228JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD compression_and_archive_extensions_project compression_and_archive_extensions_zip_project
cpe:2.3:a:compression_and_archive_extensions_project:compression_and_archive_extensions_zip_project:*:*:*:*:*:*:*:*
all versions
OSV Go github.com/unknwon/cae < 1.0.1 1.0.1

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 23 Jun 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.