CVE-2022-23530

Published: Dic 16, 2022 Last Modified: Nov 21, 2024 EU-VD ID: EUVD-2022-0117 Aliases: GHSA-78m5-jpmf-ch7v, PYSEC-2022-42993
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 5,8
Attack Vector: network
Attack Complexity: high
Privileges Required: none
User Interaction: required
Scope: changed
Confidentiality: low
Integrity: low
Availability: low

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0081
Percentile
0,7th
Updated

EPSS Score Trend (Last 90 Days)

22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Stable
Common Consequences
Security Scopes Affected:
Integrity Confidentiality Availability
Potential Impacts:
Execute Unauthorized Code Or Commands Modify Files Or Directories Read Files Or Directories Dos: Crash, Exit, Or Restart
Applicable Platforms
Technologies: AI/ML
View CWE Details
Application

Guarddog by Datadoghq

Version Range Affected
To 0.1.8 (exclusive)
cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/DataDog/guarddog/blob/a1d064ceb09d39bb28deb6972bc0a278756ea9…
https://github.com/DataDog/guarddog/commit/37c7d0767ba28f4df46117d478f97652594c…
https://github.com/DataDog/guarddog/security/advisories/GHSA-78m5-jpmf-ch7v
https://github.com/DataDog/guarddog/blob/a1d064ceb09d39bb28deb6972bc0a278756ea9…
https://github.com/DataDog/guarddog/commit/37c7d0767ba28f4df46117d478f97652594c…
https://github.com/DataDog/guarddog/security/advisories/GHSA-78m5-jpmf-ch7v