目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-36070— Poetry 代码问题漏洞

一分钟漏洞结论

影响对象
python-poetry poetry
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Poetry是Python 中用于依赖管理和打包的工具。它允许您声明项目所依赖的库,并将为您管理(安装/更新)它们。 Poetry 1.1.9之前版本和1.2.0b1之前版本存在代码问题漏洞,该漏洞源于执行各种命令是使用可执行文件的名称而不是其绝对路径执行的,由于Windows将可执行文件名称解析为路径的方式,这可能导致执行不受信任的代码。如果开发人员被利用,攻击者可以窃取凭据或保留其访问权限,如果漏洞发生在服务器上,攻击者可以使用他们的访问权限来攻击其他内部系统。

CVSS 7.3 · High EPSS 0.36% · P28
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-36070 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Poetry's Untrusted Search Path can lead to Local Code Execution on Windows
来源: CVE Program / CVE List V5
Vulnerability Description
Poetry is a dependency manager for Python. To handle dependencies that come from a Git repository, Poetry executes various commands, e.g. `git config`. These commands are being executed using the executable’s name and not its absolute path. This can lead to the execution of untrusted code due to the way Windows resolves executable names to paths. Unlike Linux-based operating systems, Windows searches for the executable in the current directory first and looks in the paths that are defined in the `PATH` environment variable afterward. This vulnerability can lead to Arbitrary Code Execution, which would lead to the takeover of the system. If a developer is exploited, the attacker could steal credentials or persist their access. If the exploit happens on a server, the attackers could use their access to attack other internal systems. Since this vulnerability requires a fair amount of user interaction, it is not as dangerous as a remotely exploitable one. However, it still puts developers at risk when dealing with untrusted files in a way they think is safe. The victim could also not protect themself by vetting any Git or Poetry config files that might be present in the directory, because the behavior is undocumented. Versions 1.1.9 and 1.2.0b1 contain patches for this issue.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
不可信的搜索路径
来源: CVE Program / CVE List V5
Vulnerability Title
Poetry 代码问题漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Poetry是Python 中用于依赖管理和打包的工具。它允许您声明项目所依赖的库,并将为您管理(安装/更新)它们。 Poetry 1.1.9之前版本和1.2.0b1之前版本存在代码问题漏洞,该漏洞源于执行各种命令是使用可执行文件的名称而不是其绝对路径执行的,由于Windows将可执行文件名称解析为路径的方式,这可能导致执行不受信任的代码。如果开发人员被利用,攻击者可以窃取凭据或保留其访问权限,如果漏洞发生在服务器上,攻击者可以使用他们的访问权限来攻击其他内部系统。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
python-poetry poetry < 1.1.9 -

二、漏洞 CVE-2022-36070 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-36070 的情报信息

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

CVE-2022-36070 厂商安全公告 (1)

CVE-2022-36070 其他参考 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-36070

暂无评论


发表评论