CVE-2022-23530
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2022-23530
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-12-16T23:15:09
- Last Modified Date
- 2022-12-22T14:43:18
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:* | 1 | OR | 0.1.8 |
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-23530 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23530 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-12-18 09:31:57 | Added to TrackCVE | |||
2022-12-19 03:15:38 | 2022-12-16T23:15:09.590 | 2022-12-16T23:15:09 | CVE Published Date | updated |
2022-12-19 03:15:38 | 2022-12-19T02:27:34 | CVE Modified Date | updated | |
2022-12-19 03:15:38 | Received | Awaiting Analysis | Vulnerability Status | updated |
2022-12-21 07:03:00 | Awaiting Analysis | Undergoing Analysis | Vulnerability Status | updated |
2022-12-22 15:15:29 | 2022-12-22T14:43:18 | CVE Modified Date | updated | |
2022-12-22 15:15:29 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |
2022-12-22 15:15:30 | CPE Information | updated |