blob: 1cf73f59458582c705cd319c02c2aa9ae01cc643 [file] [log] [blame]
modules:
- module: github.com/artdarek/go-unzip
versions:
- fixed: 1.0.0
packages:
- package: github.com/artdarek/go-unzip
symbols:
- Unzip.Extract
description: |
Due to improper path santization, archives containing relative file
paths can cause files to be written (or overwritten) outside of the
target directory.
published: 2021-04-14T20:04:52Z
ghsas:
- GHSA-rmj9-q58g-9qgg
references:
- fix: https://github.com/artdarek/go-unzip/pull/2
- fix: https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0
- web: https://snyk.io/research/zip-slip-vulnerability
cve_metadata:
id: CVE-2020-36560
cwe: 'CWE 29: Path Traversal: "\..\filename"'