CVE-2020-36560: Path traversal in github.com/artdarek/go-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.

Other sources

Due to improper path santization, 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/artdarek/go-unzip<2.0.0
2.0.0
Go-unzip Project Go-unzip Go<1.0.0

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-36560?

CVE-2020-36560 is classified as a medium severity vulnerability due to potential file overwriting risks.

2

How do I fix CVE-2020-36560?

To fix CVE-2020-36560, upgrade to version 2.0.0 or later of the go-unzip package.

3

What causes CVE-2020-36560?

CVE-2020-36560 is caused by improper path sanitization allowing archives with relative file paths to write files outside the intended directory.

4

Which versions of go-unzip are affected by CVE-2020-36560?

CVE-2020-36560 affects all versions of go-unzip below 2.0.0 and specifically versions 1.0.0 and later.

5

What type of vulnerabilities does CVE-2020-36560 exploit?

CVE-2020-36560 exploits path traversal vulnerabilities that can lead to unauthorized file access and system compromise.

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