Description
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
Remediation
References
Related Vulnerabilities
SharePoint Incorrect Permission Assignment for Critical Resource Vulnerability (CVE-2021-42309)
WordPress Plugin Lightbox Jquery Possible Remote Code Execution (0.24)
Internet Information Services Unchecked Return Value Vulnerability (CVE-2005-4360)
Magento Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2020-9591)
Drupal Improper Access Control Vulnerability (CVE-2015-2559)