CVE-2020-36561: Path traversal in github.com/yi-ge/unzip

Published Dec 27, 2022
·
Updated

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

Affected Software

2 affected componentsFixes available
go/github.com/yi-ge/unzip<1.0.3-0.20200308084313-2adbaa4891b9
1.0.3-0.20200308084313-2adbaa4891b9
Unzip Project Unzip Go<1.0.3-0.20200308084313-2adbaa4891b9

Event History

Dec 27, 2022
CVE Published
via MITRE·09:13 PM
Data Sourced
via MITRE·09:13 PM
DescriptionWeakness
Dec 28, 2022
Advisory Published
12:30 AM

Frequently Asked Questions

1

What is the severity of CVE-2020-36561?

The severity of CVE-2020-36561 is critical, with a severity value of 9.1.

2

What is the impact of CVE-2020-36561?

CVE-2020-36561 can allow malicious archives containing relative file paths to write or overwrite files outside of the target directory.

3

Which software is affected by CVE-2020-36561?

The software affected by CVE-2020-36561 is Unzip Project Unzip version 1.0.3-0.20200308084313-2adbaa4891b9.

4

How can I fix CVE-2020-36561?

To fix CVE-2020-36561, update the affected software to version 1.0.3-0.20200308084313-2adbaa4891b9.

5

Where can I find more information about CVE-2020-36561?

You can find more information about CVE-2020-36561 at the following references: [Link 1](https://nvd.nist.gov/vuln/detail/CVE-2020-36561), [Link 2](https://github.com/yi-ge/unzip/pull/1), [Link 3](https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203