CVE-2022-23531
published medium CVSS 3.1 · 5.8Arbitrary file write when scanning a specially-crafted local PyPI package
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DataDog | — | guarddog< 0.1.5 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DataDog | guarddog | < 0.1.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-23 CWE-23: Relative Path Traversal
References
3Provider assertions
3GitHub_M · cna
Arbitrary file write when scanning a specially-crafted local PyPI package
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6277ee4ae71efef015e53bc391cd1e90bfdfed45b929f282d83a2041d2d1bf89
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record