QID 356522

Date Published: 2023-11-08

QID 356522: Amazon Linux Security Advisory for composer : ALAS2023-2023-384

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-384 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356522

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-384 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-384.html