{"id":"CVE-2020-29529","aliases":["DEBIAN-CVE-2020-29529","GHSA-2g5j-5x95-r6hr","GO-2021-0094","UBUNTU-CVE-2020-29529"],"summary":"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.","published_at":"2020-12-03T00:00:00Z","modified_at":"2026-10-26T12:02:24.302042Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"low"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.02817000076174736,"percentile":0.8684499859809875,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"Debian:12","package":"golang-github-hashicorp-go-slug","purl":"pkg:deb/debian/golang-github-hashicorp-go-slug?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0-1"}]}],"fixed":["0.5.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-29529","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/go-slug","purl":"pkg:golang/github.com/hashicorp/go-slug","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"fixed":["0.5.0"],"provider":"osv","source":"GHSA-2g5j-5x95-r6hr","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/go-slug","purl":"pkg:golang/github.com/hashicorp/go-slug","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"fixed":["0.5.0"],"provider":"osv","source":"GO-2021-0094","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:go-slug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"fixed":["0.5.0"],"provider":"nvd","source":"CVE-2020-29529","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-hashicorp-go-slug","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-slug@0.7.0-1ubuntu1?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2","0.7.0-1ubuntu1"],"provider":"osv","source":"UBUNTU-CVE-2020-29529","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/multicloud-manager-rhel8","rhacm2/openshift-hive-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2020-29529"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-29529","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-29529","license":"CC-BY-4.0","published_at":"2020-12-03T19:04:50Z","modified_at":"2024-08-04T16:55:10.521Z","summary":"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.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/hashicorp/go-slug/releases/tag/v0.5.0"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/pull/12"},{"type":"WEB","url":"https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug"}]},{"provider":"nvd","source_id":"CVE-2020-29529","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29529","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:go-slug","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"fixed":["0.5.0"],"provider":"nvd","source":"CVE-2020-29529","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2020-29529","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2020-29529","published_at":"2020-12-03T20:15:11.82Z","modified_at":"2026-10-26T12:02:24.302042Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"DEBIAN-CVE-2020-29529"}],"affected":[{"ecosystem":"Debian:12","package":"golang-github-hashicorp-go-slug","purl":"pkg:deb/debian/golang-github-hashicorp-go-slug?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0-1"}]}],"fixed":["0.5.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-29529","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2020-29529"}]},{"provider":"osv","source_id":"GHSA-2g5j-5x95-r6hr","relation":"self","url":"https://osv.dev/vulnerability/GHSA-2g5j-5x95-r6hr","license":"CC-BY-4.0","published_at":"2023-02-06T23:16:16Z","modified_at":"2023-11-08T04:03:31.473521Z","summary":"Unsafe tar unpacking in HashiCorp go-slug","details":"HashiCorp go-slug before 0.5.0 does not address attempts at directory traversal involving ../ and symlinks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-2g5j-5x95-r6hr"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/go-slug","purl":"pkg:golang/github.com/hashicorp/go-slug","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"fixed":["0.5.0"],"provider":"osv","source":"GHSA-2g5j-5x95-r6hr","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29529"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/pull/12"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/commit/28cafc59c8da6126a3ae94dfa84181df4073454f"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/commit/764785bc4cbb9e600ad1cf1a6bd21b535c182983"},{"type":"PACKAGE","url":"https://github.com/hashicorp/go-slug"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/releases/tag/v0.5.0"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0094"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug"}]},{"provider":"osv","source_id":"GO-2021-0094","relation":"self","url":"https://osv.dev/vulnerability/GO-2021-0094","license":"CC-BY-4.0","published_at":"2021-04-14T20:04:52Z","modified_at":"2024-05-20T16:03:47Z","summary":"Directory traversal in github.com/hashicorp/go-slug","details":"Protections against directory traversal during archive extraction can be bypassed by chaining multiple symbolic links within the archive. This allows a malicious attacker to cause files to be created outside of the target directory. Additionally if the attacker is able to read extracted files they may create symbolic links to arbitrary files on the system which the unpacker has permissions to read.","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/go-slug","purl":"pkg:golang/github.com/hashicorp/go-slug","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"fixed":["0.5.0"],"provider":"osv","source":"GO-2021-0094","relation":"self"}],"product_status":[],"references":[{"type":"FIX","url":"https://github.com/hashicorp/go-slug/pull/12"},{"type":"FIX","url":"https://github.com/hashicorp/go-slug/commit/28cafc59c8da6126a3ae94dfa84181df4073454f"},{"type":"WEB","url":"https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2020-29529","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2020-29529","license":"CC-BY-SA-4.0","published_at":"2020-12-03T20:15:00Z","modified_at":"2026-02-19T19:22:45.771006Z","withdrawn_at":"2026-02-19T16:58:09Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"UBUNTU-CVE-2020-29529"},{"type":"Ubuntu","score":"low","source":"UBUNTU-CVE-2020-29529"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-hashicorp-go-slug","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-slug@0.7.0-1ubuntu1?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2","0.7.0-1ubuntu1"],"provider":"osv","source":"UBUNTU-CVE-2020-29529","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-29529"},{"type":"REPORT","url":"https://github.com/hashicorp/go-slug/pull/12"},{"type":"REPORT","url":"https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0"},{"type":"REPORT","url":"https://github.com/hashicorp/go-slug/releases/tag/v0.5.0"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-29529"}]},{"provider":"redhat-vex","source_id":"CVE-2020-29529","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-29529","license":"CC-BY-4.0","published_at":"2020-12-03T00:00:00Z","modified_at":"2026-02-02T07:28:14.984404Z","summary":"go-slug: partial protection against zip slip attacks","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2020-29529"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-29529"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/multicloud-manager-rhel8","rhacm2/openshift-hive-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2020-29529"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-29529.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-29529"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914238"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-29529"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29529"}]}],"references":[{"type":"WEB","url":"https://github.com/hashicorp/go-slug/releases/tag/v0.5.0"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/pull/12"},{"type":"WEB","url":"https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2020-29529"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29529"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/commit/28cafc59c8da6126a3ae94dfa84181df4073454f"},{"type":"WEB","url":"https://github.com/hashicorp/go-slug/commit/764785bc4cbb9e600ad1cf1a6bd21b535c182983"},{"type":"PACKAGE","url":"https://github.com/hashicorp/go-slug"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0094"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-29529"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-29529"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-29529.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-29529"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914238"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-29529","url":"https://www.cve.org/CVERecord?id=CVE-2020-29529","license":"CC-BY-4.0","modified_at":"2024-08-04T16:55:10.521Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-29529","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29529","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2020-29529","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2020-29529","modified_at":"2026-10-26T12:02:24.302042Z","relation":"self"},{"provider":"osv","source_id":"GHSA-2g5j-5x95-r6hr","url":"https://osv.dev/vulnerability/GHSA-2g5j-5x95-r6hr","license":"CC-BY-4.0","modified_at":"2023-11-08T04:03:31.473521Z","relation":"self"},{"provider":"osv","source_id":"GO-2021-0094","url":"https://osv.dev/vulnerability/GO-2021-0094","license":"CC-BY-4.0","modified_at":"2024-05-20T16:03:47Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2020-29529","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2020-29529","license":"CC-BY-SA-4.0","modified_at":"2026-02-19T19:22:45.771006Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-29529","url":"https://access.redhat.com/security/cve/CVE-2020-29529","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:14.984404Z","relation":"self"}]}
