Arbitrary Code Injection Affecting composer package, versions <2.6.4-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.2% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-COMPOSER-5926683
  • published1 Oct 2023
  • disclosed29 Sept 2023

Introduced: 29 Sep 2023

CVE-2023-43655  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade Debian:unstable composer to version 2.6.4-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream composer package and not the composer package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Scores

version 3.1