Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2022-36069

Опубликовано: 07 сент. 2022
Источник: nvd
CVSS3: 7.3
EPSS Низкий

Описание

Poetry is a dependency manager for Python. When handling dependencies that come from a Git repository instead of a registry, Poetry uses various commands, such as git clone. These commands are constructed using user input (e.g. the repository URL). When building the commands, Poetry correctly avoids Command Injection vulnerabilities by passing an array of arguments instead of a command string. However, there is the possibility that a user input starts with a dash (-) and is therefore treated as an optional argument instead of a positional one. This can lead to Code Execution because some of the commands have options that can be leveraged to run arbitrary executables. 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.

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:python-poetry:poetry:*:*:*:*:*:python:*:*
Версия до 1.1.9 (исключая)
cpe:2.3:a:python-poetry:poetry:1.2.0:alpha1:*:*:*:python:*:*
cpe:2.3:a:python-poetry:poetry:1.2.0:alpha2:*:*:*:python:*:*

EPSS

Процентиль: 72%
0.0072
Низкий

7.3 High

CVSS3

Дефекты

CWE-94
CWE-88

Связанные уязвимости

CVSS3: 7.3
ubuntu
больше 3 лет назад

Poetry is a dependency manager for Python. When handling dependencies that come from a Git repository instead of a registry, Poetry uses various commands, such as `git clone`. These commands are constructed using user input (e.g. the repository URL). When building the commands, Poetry correctly avoids Command Injection vulnerabilities by passing an array of arguments instead of a command string. However, there is the possibility that a user input starts with a dash (`-`) and is therefore treated as an optional argument instead of a positional one. This can lead to Code Execution because some of the commands have options that can be leveraged to run arbitrary executables. 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 o...

CVSS3: 7.3
msrc
4 месяца назад

Poetry Argument Injection vulnerability can lead to local Code Execution

CVSS3: 7.3
debian
больше 3 лет назад

Poetry is a dependency manager for Python. When handling dependencies ...

CVSS3: 7.3
github
больше 3 лет назад

Poetry Argument Injection can lead to Local Code Execution

EPSS

Процентиль: 72%
0.0072
Низкий

7.3 High

CVSS3

Дефекты

CWE-94
CWE-88