CVE-2020-29529: GHSL-2020-262: Unsafe handling of symbolic links in go-slug unpacking routine - CVE-2020-29529

Published Dec 3, 2020
·
Updated

HashiCorp go-slug up to 0.4.3 did not fully protect against directory traversal while unpacking tar archives, and protections could be bypassed with specific constructions of multiple symlinks. Fixed in 0.5.0.

Other sources

HashiCorp go-slug up to 0.4.3 did not fully protect against Zip Slip attacks while unpacking tar archives, and protections could be bypassed with specific constructions of multiple symlinks. Fixed in 0.5.0

References: https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0 https://github.com/hashicorp/go-slug/pull/12 https://github.com/hashicorp/go-slug/releases/tag/v0.5.0

Red Hat

The unsafe handling of symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations outside the designated target folder.

GitHub Security Lab

Affected Software

2 affected componentsFixes available
redhat/go-slug<0.5.0
0.5.0
HashiCorp go-slug<0.5.0

Event History

Dec 3, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeakness
CVE Published
via MITRE·07:04 PM
Data Sourced
via MITRE·07:04 PM
Description
Jan 12, 2021
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-29529?

CVE-2020-29529 is a vulnerability in HashiCorp go-slug up to version 0.4.3 that allows directory traversal while unpacking tar archives, which can be bypassed with specific constructions of multiple symlinks.

2

How severe is CVE-2020-29529?

CVE-2020-29529 has a severity rating of 7, which is considered high.

3

How can I fix CVE-2020-29529?

CVE-2020-29529 can be fixed by updating HashiCorp go-slug to version 0.5.0 or higher.

4

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

You can find more information about CVE-2020-29529 on the following references: [Reference 1](https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0), [Reference 2](https://github.com/hashicorp/go-slug/pull/12), [Reference 3](https://github.com/hashicorp/go-slug/releases/tag/v0.5.0)

5

What are the Common Weakness Enumerations (CWE) associated with CVE-2020-29529?

The Common Weakness Enumerations (CWE) associated with CVE-2020-29529 are CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) and CWE-59 (Improper Link Resolution Before File Access ('Link Following')).

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