6.5

CVE-2022-23530: datadog guarddog Path Traversal

CVSS: 6.5v3.1MediumModified
AliasesGHSA-78m5-jpmf-ch7vPYSEC-2022-42993
Published 16-12-2022Last modified 17-04-2025

Vulnerability summary

CVE-2022-23530 is a medium (CVSS 6.5) Path Traversal vulnerability in datadog guarddog. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 54.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.75%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 16-12-2022
    PublishedVulnerability first disclosed.
  2. 17-04-2025
    Last modifiedVulnerability information updated.

Description

GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are 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. This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.75%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

+0.05 pp

From 0.70% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.75%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Guarddog

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Datadog1 product
Datadoghq1 product
PyPI1 product
  • guarddog< 37c7d0767ba28f4df46117d478f97652594c491c | < 0.1.8

3 vendors · 3 products

References

6 links