Every CVE Search/ Get API key

CVE-2020-36561

Path traversal in github.com/yi-ge/unzip

9.1 CriticalFix available

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
High

Exploit likelihood

1.41%Up 0.5 points since Dec 28, 2022
90%50%10%1%

What each source reports

NVD Score used 9.1

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
CVE-2020-36561
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
CVE List 9.1

Path traversal in github.com/yi-ge/unzip

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
CVE-2020-36561
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
EUVDEUVD-2022-7611 9.1

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
EUVD-2022-7611
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-f5c5-hmw9-v8hx 9.1

Unzip vulnerable to path traversal

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
GHSA-f5c5-hmw9-v8hx
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
OSV 9.1

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
CVE-2020-36561
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVGHSA-f5c5-hmw9-v8hx 9.1

Unzip vulnerable to path traversal

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
GHSA-f5c5-hmw9-v8hx
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
OSVGO-2020-0035 No score

Path traversal in github.com/yi-ge/unzip

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Record
GO-2020-0035
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/yi-ge/unzip
Go
before 1.0.3-0.20200308084313-2adbaa4891b9
1.0.3-0.20200308084313-2adbaa4891b9

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-36561 is a critical vulnerability (CVSS 9.1) in Github.com/yi-ge/unzip, published April 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in github.com/yi-ge/unzip 1.0.3-0.20200308084313-2adbaa4891b9.

References

MoveEnter Open