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

exploitDog

github логотип

GHSA-jm6m-4632-36hf

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

Описание

Composer Remote Code Execution vulnerability via web-accessible composer.phar

Impact

Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be impacted if PHP also has register_argc_argv enabled in php.ini.

Patches

2.6.4, 2.2.22 and 1.10.27 patch this vulnerability.

Workarounds

Make sure register_argc_argv is disabled in php.ini, and avoid publishing composer.phar to the web as this really should not happen.

Пакеты

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

composer/composer

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

< 1.10.27

1.10.27

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

composer/composer

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

>= 2.0.0, < 2.2.22

2.2.22

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

composer/composer

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

>= 2.3.0, < 2.6.4

2.6.4

EPSS

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

8.8 High

CVSS3

Дефекты

CWE-74

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

CVSS3: 6.4
ubuntu
больше 1 года назад

Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to a remote code execution vulnerability if PHP also has `register_argc_argv` enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. Users are advised to upgrade. Users unable to upgrade should make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.

CVSS3: 6.4
nvd
больше 1 года назад

Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to a remote code execution vulnerability if PHP also has `register_argc_argv` enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. Users are advised to upgrade. Users unable to upgrade should make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.

CVSS3: 6.4
debian
больше 1 года назад

Composer is a dependency manager for PHP. Users publishing a composer. ...

suse-cvrf
больше 1 года назад

Security update for php-composer2

CVSS3: 8.8
fstec
больше 1 года назад

Уязвимость файла composer.phar менеджера зависимостей для PHP Composer, позволяющая нарушителю выполнить произвольные команды

EPSS

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

8.8 High

CVSS3

Дефекты

CWE-74