Security mailing lists by PureSourceCode

CVE-2022-23531

HIGH 7.8CVSS 3.1

GuardDog vulnerable to arbitrary file write when scanning a specially-crafted PyPI package

GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to 0.1.5 are vulnerable to Relative Path Traversal when scanning a specially-crafted local PyPI package. Running GuardDog against a specially-crafted package can allow an attacker to write an arbitrary file on the machine where GuardDog is executed 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. This issue is patched in version 0.1.5.

Published
17 Dec 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22CWE-23
Also known as
GHSA-rp2v-v467-q9vqPYSEC-2022-42994
Sources
NVDJSONOSV GHSA-rp2v-v467-q9vqJSONOSV PYSEC-2022-42994JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD datadoghq guarddog
cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:*
< 0.1.5 0.1.5
OSV PyPI guarddog < 0.1.5 0.1.5

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Dec 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Dec 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.