CWE
22
Advisory Published
Advisory Published
Updated

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

First published: Tue 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.

Credit: security@golang.org security@golang.org

Affected SoftwareAffected VersionHow to fix
Unzip Project Unzip<1.0.3-0.20200308084313-2adbaa4891b9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-36561?

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

  • 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.

  • 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.

  • How can I fix CVE-2020-36561?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203