Bug 1914238 (CVE-2020-29529)

Summary: CVE-2020-29529 go-slug: partial protection against zip slip attacks
Product: [Other] Security Response Reporter: msiddiqu
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dramseur, gghezzo, gparvin, jhunter, jramanat, jweiser, kmitts, mgala, mjudeiki, stcannon, thee
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: go-slug 0.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-13 06:38:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1914887, 1914888    
Bug Blocks: 1914240    

Description msiddiqu 2021-01-08 12:26:42 UTC
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

Comment 2 errata-xmlrpc 2021-04-13 00:09:34 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7

Via RHSA-2021:1168 https://access.redhat.com/errata/RHSA-2021:1168

Comment 3 Product Security DevOps Team 2021-04-13 06:38:59 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-29529