CVE-2024-24821
Code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php in Composer
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.8
Code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php in Composer
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
CVE-2024-24821- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
EUVDEUVD-2024-0553
8.8
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
EUVD-2024-0553- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7c6p-848j-wh5h
8.8
Composer code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php
Impact
Several files within the local working directory are included during the invocation of Composer and in the context of the executing user.
As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files.
All Composer CLI commands are affected, including composer.phar's self-update.
The following are of high risk:
- Composer being run with sudo.
- Pipelines which may execute Composer on untrusted projects.
- Shared environments with developers who run Composer individually on the same project.
Patches
2.7.0, 2.2.23
Workarounds
- It is advised that the patched versions are applied at the earliest convenience.
Where not possible, the following should be addressed:
- Remove all sudo composer privileges for all users to mitigate root privilege escalation.
- Avoid running Composer within an untrusted directory, or if needed, verify that the contents of
vendor/composer/InstalledVersions.phpandvendor/composer/installed.phpdo not include untrusted code.
A reset can also be done on these files by the following:
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
GHSA-7c6p-848j-wh5h- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
NVD
8.8
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
CVE-2024-24821- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-24821
7.8
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
ALPINE-CVE-2024-24821- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
8.8
Code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php in Composer
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
CVE-2024-24821- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2024-24821
7.8
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:sh rm vendor/composer/installed.php vendor/composer/InstalledVersions.php composer install --no-scripts --no-plugins
- Record
DEBIAN-CVE-2024-24821- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-7c6p-848j-wh5h
8.8
Composer code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php
Impact
Several files within the local working directory are included during the invocation of Composer and in the context of the executing user.
As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files.
All Composer CLI commands are affected, including composer.phar's self-update.
The following are of high risk:
- Composer being run with sudo.
- Pipelines which may execute Composer on untrusted projects.
- Shared environments with developers who run Composer individually on the same project.
Patches
2.7.0, 2.2.23
Workarounds
- It is advised that the patched versions are applied at the earliest convenience.
Where not possible, the following should be addressed:
- Remove all sudo composer privileges for all users to mitigate root privilege escalation.
- Avoid running Composer within an untrusted directory, or if needed, verify that the contents of
vendor/composer/InstalledVersions.phpandvendor/composer/installed.phpdo not include untrusted code.
A reset can also be done on these files by the following:
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
GHSA-7c6p-848j-wh5h- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-24821
8.8
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:sh rm vendor/composer/installed.php vendor/composer/InstalledVersions.php composer install --no-scripts --no-plugins
- Record
UBUNTU-CVE-2024-24821- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-composer-2024-24821 No score
Code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php in Composer
Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of vendor/composer/InstalledVersions.php and vendor/composer/installed.php do not include untrusted code. A reset can also be done on these files by the following:```sh
rm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
- Record
BIT-composer-2024-24821- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13681-1 No score
php-composer2-2.7.1-1.1 on GA media
These are all security issues fixed in the php-composer2-2.7.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13681-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:0592-1 No score
Security update for php-composer2
This update for php-composer2 fixes the following issues:
- CVE-2024-24821: Fixed potential arbitrary code execution when Composer is invoked within a directory with tampered files (bsc#1219757).
- Record
SUSE-SU-2024:0592-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:1970-1 No score
Security update for php-composer2
This update for php-composer2 fixes the following issues
- CVE-2026-40176: command injection via malicious Perforce repository definition (bsc#1262254).
- CVE-2026-40261: command injection via malicious Perforce source reference/url (bsc#1262255).
Changes for php-composer2:
- version update to 2.2.27 (align with upstream LTS version)
- Security: Hardened git/hg/perforce/fossil identifier validation to ensure branch names starting with - do not cause issues (246f807b, 246f807b, 246f807b)
- Security: Fixed Perforce unescaped user input in queryP4User shell command (246f807b)
- Security: Fixed usage of insecure 3DES ciphers when ext-curl is missing (21ffece62)
- Fixed issue handling paths with = in them on Windows (#11568)
- version 2.2.26 2025-12-30
- Security: Fixed ANSI sequence injection (GHSA-59pp-r3rg-353g / CVE-2025-67746)
- version 2.2.25 2024-12-11
- Fixed deprecation notices appearing on this LTS version in case it is used on modern PHP. Modern PHP support is not guaranteed nor tested for though and the main purpose of LTS releases is legacy PHP versions support. (#12217)
- Fixed issue on plugin upgrade when it defines multiple classes (#12226)
- Fixed duplicate errors appearing in the output depending on php settings (#12214)
- Fixed InstalledVersions returning duplicate data in some instances (#12225)
- version 2.2.24 2024-06-10
- Security: Fixed command injection via malicious git branch name (GHSA-47f6-5gq3-vx9c / CVE-2024-35241)
- Security: Fixed multiple command injections via malicious git/hg branch names (GHSA-v9qv-c7wm-wgmf / CVE-2024-35242)
- Security: Fixed secure-http checks that could be bypassed by using malformed URL formats (fa3b9582c)
- Security: Fixed Filesystem::isLocalPath including windows-specific checks on linux (3c37a67c)
- Security: Fixed perforce argument escaping (3773f775)
- Security: Fixed handling of zip bombs when extracting archives (de5f7e32)
- Security: Fixed Windows command parameter escaping to prevent abuse of unicode characters with best fit encoding
- conversion (3130a7455, 04a63b324)
- version 2.2.23 2024-02-08
- Security: Fixed code execution and possible privilege escalation via compromised vendor dir contents (GHSA-7c6p-848j-wh5h / CVE-2024-24821)
- version 2.2.22 2023-09-29
- Security: Fixed possible remote code execution vulnerability if composer.phar is publicly accessible, executable as PHP, and register_argc_argv is enabled in php.ini (GHSA-jm6m-4632-36hf / CVE-2023-43655)
- Fixed authentication issue when downloading several files from private Bitbucket in parallel (#11464)
- Fixed handling of broken junctions on windows (#11550)
- Fixed loading of root aliases on path repo packages when doing partial updates (#11632)
- Fixed parsing of lib-curl-openssl version with OSX SecureTransport (#11534)
- Fixed binary proxies not being transparent when included by another PHP process and returning a value (#11454)
- Fixed support for plugin classes being marked as readonly (#11404)
- Fixed GitHub rate limit reporting (#11366)
- Fixed issue displaying solver problems with branch names containing % signs (#11359)
- version 2.2.21 2023-02-15
- Fixed extra.plugin-optional support in PluginInstaller when doing pre-install checks (#11326)
- version 2.2.20 2023-02-10
- Added extra.plugin-optional support for allow auto-disabling unknown plugins which are not critical when running non-interactive (#11315)
- version 2.2.19 2023-02-04
- Fixed URL sanitizer to handle new GitHub personal access tokens format (#11137)
- Fixed cache keys to allow _ to avoid conflicts between package names like a-b and a_b (#11229)
- Fixed handling of --ignore-platform-req with upper-bound ignores to not apply to conflict rules (#11037)
- Fixed handling of COMPOSER_DISCARD_CHANGES when set to 0
- version 2.2.18 2022-08-20
- Fixed COMPOSER_NO_DEV so it also works with require and remove's --update-no-dev (#10995)
- Fixed duplicate missing extension warnings being…
- Record
SUSE-SU-2026:1970-1- Updated
- 2026-11-02
OSVUSN-7603-1 No score
composer vulnerabilities
Thomas Chauchefoin discovered that Composer did not correctly handle certain arguments. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-24828, CVE-2023-43655)
Ed Cradock discovered that Composer did not correctly handle the exclusion of certain files. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2024-24821)
Martin Haunschmid discovered that Composer did not correctly handle git branch names. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-35241)
Maciej Piechota discovered that Composer did not correctly handle VCS branch names. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-35242)
- Record
USN-7603-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
composer/composerPackagist |
2.0.0-alpha1 up to 2.2.23 | 2.2.23 |
composer/composerPackagist |
2.3.0-rc1 up to 2.7.0 | 2.7.0 |
composerAlpine:v3.19 |
2.0.0 up to 2.7.0-r0 | 2.7.0-r0 |
composerAlpine:v3.20 |
2.0.0 up to 2.7.0-r0 | 2.7.0-r0 |
composerAlpine:v3.21 |
2.0.0 up to 2.7.0-r0 | 2.7.0-r0 |
composerAlpine:v3.22 |
2.0.0 up to 2.7.0-r0 | 2.7.0-r0 |
composerAlpine:v3.23 |
2.0.0 up to 2.7.0-r0 | 2.7.0-r0 |
composerAlpine:v3.24 |
2.0.0 up to 2.7.0-r0 | 2.7.0-r0 |
composerBitnami |
2.0.0 up to 2.2.23, 2.3.0 up to 2.7.0 | 2.2.232.7.0 |
composerDebian:12 |
before 2.5.5-1+deb12u1, plus listed versions 2.5.5-1 |
2.5.5-1+deb12u1 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
composerDebian:13 |
before 2.7.1-1 | 2.7.1-1 |
composerDebian:14 |
before 2.7.1-1 | 2.7.1-1 |
composerDebian:11 |
before 2.0.9-2+deb11u2, plus listed versions 2.0.9-22.0.9-2+deb11u1 |
2.0.9-2+deb11u2 |
composer/composerPackagist |
2.0.0-alpha1 up to 2.2.23, plus listed versions 2.0.02.0.0-RC12.0.0-RC22.0.0-alpha22.0.0-alpha3 Show 45 moreShow less2.0.12.0.102.0.112.0.122.0.132.0.142.0.22.0.32.0.42.0.52.0.62.0.72.0.82.0.92.1.02.1.0-RC12.1.12.1.102.1.112.1.122.1.142.1.22.1.32.1.42.1.52.1.62.1.72.1.82.1.92.2.02.2.0-RC12.2.12.2.102.2.112.2.122.2.132.2.142.2.152.2.162.2.172.2.182.2.192.2.22.2.202.2.21 |
2.2.23 |
composer/composerPackagist |
2.3.0-rc1 up to 2.7.0, plus listed versions 2.3.02.3.0-RC12.3.0-RC22.3.12.3.10 Show 30 moreShow less2.3.22.3.32.3.42.3.52.3.62.3.72.3.82.3.92.4.02.4.0-RC12.4.12.4.22.4.32.4.42.5.02.5.12.5.22.5.32.5.42.5.52.5.62.5.72.5.82.6.02.6.12.6.22.6.32.6.42.6.52.6.6 |
2.7.0 |
php-composer2SUSE:Linux Enterprise Module for Web and Scripting 15 SP5 |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
php-composer2SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
php-composer2SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
php-composer2SUSE:Linux Enterprise Server 15 SP4-LTSS |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
php-composer2SUSE:Linux Enterprise Server for SAP Applications 15 SP4 |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
php-composer2SUSE:Manager Server 4.3 |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
php-composer2openSUSE:Leap 15.5 |
before 2.2.3-150400.3.9.1 | 2.2.3-150400.3.9.1 |
composerUbuntu:Pro:22.04:LTS |
before 2.2.6-2ubuntu4+esm1, plus listed versions 2.0.9-2ubuntu22.0.9-2ubuntu32.0.13-1ubuntu12.1.12-1ubuntu12.2.6-2ubuntu4 |
2.2.6-2ubuntu4+esm1 |
composerUbuntu:Pro:16.04:LTS From an advisory covering 5 CVEs |
before 1.0.0~beta2-1ubuntu0.1~esm2, plus listed versions 1.0.0~alpha10+20150602-11.0.0~alpha10+20150602-21.0.0~alpha11-11.0.0~alpha11-1ubuntu11.0.0~alpha11-2 Show 4 moreShow less1.0.0~alpha11-31.0.0~beta1-1ubuntu11.0.0~beta2-11.0.0~beta2-1ubuntu0.1~esm1 |
1.0.0~beta2-1ubuntu0.1~esm2 |
composerUbuntu:Pro:18.04:LTS From an advisory covering 5 CVEs |
before 1.6.3-1ubuntu0.1~esm2, plus listed versions 1.5.1-11.5.2-11.6.2-11.6.3-11.6.3-1ubuntu0.1~esm1 |
1.6.3-1ubuntu0.1~esm2 |
composerUbuntu:Pro:20.04:LTS From an advisory covering 5 CVEs |
before 1.10.1-1ubuntu0.1~esm2, plus listed versions 1.9.0-21.9.1-11.9.2-11.9.3-11.10.0-11.10.1-11.10.1-1ubuntu0.1~esm1 |
1.10.1-1ubuntu0.1~esm2 |
composerUbuntu:Pro:22.04:LTS From an advisory covering 5 CVEs |
before 2.2.6-2ubuntu4+esm1, plus listed versions 2.0.9-2ubuntu22.0.9-2ubuntu32.0.13-1ubuntu12.1.12-1ubuntu12.2.6-2ubuntu4 |
2.2.6-2ubuntu4+esm1 |
composerUbuntu:Pro:24.04:LTS From an advisory covering 5 CVEs |
before 2.7.1-2ubuntu0.1~esm1, plus listed versions 2.5.8-12.6.5-12.6.6-12.7.1-2 |
2.7.1-2ubuntu0.1~esm1 |
php-composer2openSUSE:Tumbleweed |
before 2.7.1-1.1 | 2.7.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-24821 is a high vulnerability (CVSS 8.8) in Composer, published February 8, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.28%, the 20th percentile. Fixed in composer/composer 2.2.23.
References
github.com/composer/composer/security/advisories/GHSA-7c6p-848j-wh5h
github.com/composer/composer/commit/64e4eb356b159a30c766cd1ea83450a38dc23bf5
github.com/composer/composer/commit/77e3982918bc1d886843dc3d5e575e7e871b27b7
nvd.nist.gov/vuln/detail/CVE-2024-24821
github.com/advisories/GHSA-7c6p-848j-wh5h
security.alpinelinux.org/vuln/CVE-2024-24821
Show 23 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24821.json
security-tracker.debian.org/tracker/CVE-2024-24821
github.com/composer/composer
suse.com/support/update/announcement/2024/suse-su-20240592-1
bugzilla.suse.com/1219757
suse.com/security/cve/CVE-2024-24821
suse.com/support/update/announcement/2026/suse-su-20261970-1
bugzilla.suse.com/1262254
bugzilla.suse.com/1262255
suse.com/security/cve/CVE-2022-24828
suse.com/security/cve/CVE-2023-43655
suse.com/security/cve/CVE-2024-35241
suse.com/security/cve/CVE-2024-35242
suse.com/security/cve/CVE-2025-67746
suse.com/security/cve/CVE-2026-40176
suse.com/security/cve/CVE-2026-40261
ubuntu.com/security/CVE-2024-24821
cve.org/CVERecord?id=CVE-2024-24821
ubuntu.com/security/notices/USN-7603-1
ubuntu.com/security/CVE-2022-24828
ubuntu.com/security/CVE-2023-43655
ubuntu.com/security/CVE-2024-35241
ubuntu.com/security/CVE-2024-35242
Left out here: 8 versions and the rest of 1 source description. The JSON record has them.