Arbitrary Code Injection Affecting composer package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.17% (84th 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-UBUNTU2004-COMPOSER-5927462
  • published26 Jun 2025
  • 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?

There is no fixed version for Ubuntu:20.04 composer.

NVD Description

Note: Versions mentioned in the description apply only to the upstream composer package and not the composer package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 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 Base Scores

version 3.1