7.8
HIGH
CVE-2022-23531
GuardDog PyPI Package Relative Path Traversal Vulnerability
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.

INFO

Published Date :

Dec. 17, 2022, 12:15 a.m.

Last Modified :

Nov. 21, 2024, 6:48 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2022-23531 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-23531 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Datadoghq guarddog
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-23531.

URL Resource
https://github.com/DataDog/guarddog/pull/89/commits/a56aff58264cb6b7855d71b00dc10c39a5dbd306 Patch Third Party Advisory
https://github.com/DataDog/guarddog/releases/tag/v0.1.5 Release Notes Third Party Advisory
https://github.com/DataDog/guarddog/security/advisories/GHSA-rp2v-v467-q9vq Third Party Advisory
https://github.com/DataDog/guarddog/pull/89/commits/a56aff58264cb6b7855d71b00dc10c39a5dbd306 Patch Third Party Advisory
https://github.com/DataDog/guarddog/releases/tag/v0.1.5 Release Notes Third Party Advisory
https://github.com/DataDog/guarddog/security/advisories/GHSA-rp2v-v467-q9vq Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC

cve-2020-

Updated: 2 years, 1 month ago
5 stars 2 fork 2 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2633 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-23531 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-23531 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/DataDog/guarddog/pull/89/commits/a56aff58264cb6b7855d71b00dc10c39a5dbd306
    Added Reference https://github.com/DataDog/guarddog/releases/tag/v0.1.5
    Added Reference https://github.com/DataDog/guarddog/security/advisories/GHSA-rp2v-v467-q9vq
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jun. 27, 2023

    Action Type Old Value New Value
    Added CWE NIST CWE-22
  • Initial Analysis by [email protected]

    Dec. 22, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/DataDog/guarddog/pull/89/commits/a56aff58264cb6b7855d71b00dc10c39a5dbd306 No Types Assigned https://github.com/DataDog/guarddog/pull/89/commits/a56aff58264cb6b7855d71b00dc10c39a5dbd306 Patch, Third Party Advisory
    Changed Reference Type https://github.com/DataDog/guarddog/releases/tag/v0.1.5 No Types Assigned https://github.com/DataDog/guarddog/releases/tag/v0.1.5 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/DataDog/guarddog/security/advisories/GHSA-rp2v-v467-q9vq No Types Assigned https://github.com/DataDog/guarddog/security/advisories/GHSA-rp2v-v467-q9vq Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:* versions up to (excluding) 0.1.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-23531 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.31526

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability