Skip to main content
No exploitation reportedFix available

CVE-2022-23531

No exploitation reported by the sources we read.

  • Published2022-12-17
  • Fixed in0.1.5
  • WeaknessCWE-22 · CWE-23

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-12-1700:15CVE publishedNVD

Versions per branch

NVD · OSV
Datadoghq guarddog
BranchAffectedFixed in
0.1< 0.1.50.1.5

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • DataDog guarddog
    Affected
    • = < 0.1.5no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-12-16

Fix

  1. Update Datadoghq guarddog to 0.1.5

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2025-04-17
  • CNACVSS 3.15.8known since 2026-10-23
  • NVDCVSS 3.17.8read 2026-10-23
  • CNAweakness (CWE)CWE-23known since 2026-10-23
  • NVDweakness (CWE)CWE-22read 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryLOW2022-12-02

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2022-12-17
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-rp2v-v467-q9vq

Frequently asked questions

What is CVE-2022-23531?

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.

Is CVE-2022-23531 actively exploited?

Active exploitation of CVE-2022-23531 has not been confirmed. Its EPSS score was 0.7% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-23531?

CVE-2022-23531 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running guarddog? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record