Amazon Linux 2023 Security Advisory: ALAS-2023-384
Advisory Release Date: 2023-10-12 16:11 Pacific
Advisory Updated Date: 2023-10-24 15:46 Pacific
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. (CVE-2023-43655)
Affected Packages:
composer
Issue Correction:
Run dnf update composer --releasever 2023.2.20231018 to update your system.
noarch:
composer-2.5.8-2.amzn2023.0.1.noarch
src:
composer-2.5.8-2.amzn2023.0.1.src