{"id":"GHSA-2g5j-5x95-r6hr","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.","aliases":["CVE-2020-29529","GO-2021-0094"],"modified":"2023-11-08T04:03:31.473521Z","published":"2023-02-06T23:16:16Z","database_specific":{"github_reviewed_at":"2023-02-06T23:16:16Z","nvd_published_at":null,"cwe_ids":["CWE-22","CWE-59"],"severity":"HIGH","github_reviewed":true},"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"}],"affected":[{"package":{"name":"github.com/hashicorp/go-slug","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/go-slug"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-2g5j-5x95-r6hr/GHSA-2g5j-5x95-r6hr.json"}}],"schema_version":"1.9.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"}]}