Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. guarddog
  4. ›
  5. GMS-2022-7664

GMS-2022-7664: Relative Path Traversal

December 2, 2022

Running GuardDog against a specially-crafted package can allow an attacker to write an arbitrary file on the machine where GuardDog is executed. This is due to a path traversal vulnerability when extracting the .tar.gz file of the package being scanned, which exists by design in the tarfile.TarFile.extractall function.

References

  • github.com/DataDog/guarddog/security/advisories/GHSA-rp2v-v467-q9vq
  • github.com/advisories/GHSA-rp2v-v467-q9vq

Code Behaviors & Features

Detect and mitigate GMS-2022-7664 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 →

Affected versions

All versions before 0.1.5

Fixed versions

  • 0.1.5

Solution

Upgrade to version 0.1.5 or above.

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/guarddog/GMS-2022-7664.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.