Patchwire CVEs, their patch status, and feeds to follow them

CVE-2024-35242

Fixed in a distro release EPSS 3%CVSS 8.8

Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `composer install` command running inside a git/hg repository which has specially crafted branch names can lead to command injection. This requires cloning untrusted repositories. Patches are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid cloning potentially compromised repositories.

Published 2024-06-10 · CVE record · OSV

Products: composer, fedoraproject fedora, getcomposer composer

Fixed upstream

EcosystemPackageFixed in
Packagistcomposer/composer2.2.24
Packagistcomposer/composer2.7.7

Distro releases

ReleasePackageFixed in
Chainguardcomposer2.7.7-r0
Debian 10composer1.8.4-1+deb10u4
Debian 11composer2.0.9-2+deb11u3
Debian 12composer2.5.5-1+deb12u2
Debian 13composer2.7.7-1
Debian 14composer2.7.7-1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSphp-composer22.2.3-150400.3.12.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSphp-composer22.2.3-150400.3.12.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP5php-composer22.2.3-150400.3.12.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP6php-composer22.6.4-150600.3.3.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP7php-composer22.6.4-150600.3.12.1
SUSE Linux Enterprise Server 15 SP4-LTSSphp-composer22.2.3-150400.3.12.1
SUSE Linux Enterprise Server 15 SP6-LTSSphp-composer22.6.4-150600.3.12.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4php-composer22.2.3-150400.3.12.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6php-composer22.6.4-150600.3.12.1
SUSE Manager Server 4.3php-composer22.2.3-150400.3.12.1
Ubuntu Pro 16.04 LTScomposer1.0.0~beta2-1ubuntu0.1~esm2
Ubuntu Pro 18.04 LTScomposer1.6.3-1ubuntu0.1~esm2
Ubuntu Pro 20.04 LTScomposer1.10.1-1ubuntu0.1~esm2
Ubuntu Pro 22.04 LTScomposer2.2.6-2ubuntu4+esm1
Ubuntu Pro 24.04 LTScomposer2.7.1-2ubuntu0.1~esm1
Wolficomposer2.7.7-r0
openSUSE Leap 15.5php-composer22.2.3-150400.3.12.1
openSUSE Leap 15.6php-composer22.6.4-150600.3.3.1
openSUSE Tumbleweedphp-composer22.7.7-1.1