GMS-2022-7821: GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package
Extracting files using shutil.unpack_archive()
from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten.
References
Code Behaviors & Features
Detect and mitigate GMS-2022-7821 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →