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

exploitDog

github логотип

GHSA-3xpw-vhmv-cw7h

Опубликовано: 26 апр. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

Command injection in czproject/git-php

The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Пакеты

Наименование

czproject/git-php

composer
Затронутые версииВерсия исправления

< 4.0.3

4.0.3

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-74
CWE-77

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

CVSS3: 8.1
nvd
почти 4 года назад

The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-74
CWE-77