Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-23531— Arbitrary file write when scanning a specially-crafted local PyPI package

Quick assessment

Affected
DataDog guarddog
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GuardDog是GuardDog开源的一个 CLI 工具,允许识别恶意PyPI包。 GuardDog 0.1.5之前版本存在安全漏洞,该漏洞源于在扫描特制的本地PyPI包时容易受到相对路径遍历的攻击。

CVSS 5.8 · Medium EPSS 0.71% · P52

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23531

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Arbitrary file write when scanning a specially-crafted local PyPI package
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
相对路径遍历
Source: CVE Program / CVE List V5
Vulnerability Title
GuardDog 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GuardDog是GuardDog开源的一个 CLI 工具,允许识别恶意PyPI包。 GuardDog 0.1.5之前版本存在安全漏洞,该漏洞源于在扫描特制的本地PyPI包时容易受到相对路径遍历的攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
DataDog guarddog < 0.1.5 -

II. Public POCs for CVE-2022-23531

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23531

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-23531 (1)

Vendor Advisories for CVE-2022-23531 (1)

Other References for CVE-2022-23531 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-23531

No comments yet


Leave a comment