
CVE catalog
CVE-2024-35241
Composer vulnerabilities
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.05% · Oct 25, 2026
Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `status`, `reinstall` and `remove` commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code. Patches for this issue are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid installing dependencies via git by using `--prefer-dist` or the `preferred-install: dist` config setting.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | composer | sid | 2.10.3-1 | fixed |
| Debian | composer | forky | 2.10.3-1 | fixed |
| Debian | composer | trixie | 2.8.8-1+deb13u3 | fixed |
| Debian | composer | bookworm | 2.5.5-1+deb12u5 | fixed |
| Debian | composer | bookworm-security | 2.5.5-1+deb12u2 | fixed |
| Ubuntu | composer | noble | 2.7.1-2ubuntu0.1~esm1 | fixed |
| Suse | php-composer2 | linux enterprise module for web and scripting 15 sp7 | 2.6.4-150600.3.12.1 | fixed |
| Suse | php-composer2 | linux enterprise server 15 sp6-ltss | 2.6.4-150600.3.12.1 | fixed |
| Suse | php-composer2 | linux enterprise server for sap applications 15 sp6 | 2.6.4-150600.3.12.1 | fixed |
| Ubuntu | composer | pro | 2.5.8-1 | vulnerable |
| Ubuntu | composer | pro | 2.6.5-1 | vulnerable |
| Ubuntu | composer | pro | 2.6.6-1 | vulnerable |
| Ubuntu | composer | pro | 2.7.1-2 | vulnerable |
| Ubuntu | composer | pro | 2.7.1-2ubuntu0.1~esm1 | fixed |
| Opensuse | php-composer2 | tumbleweed | 2.7.7-1.1 | fixed |
| Suse | php-composer2 | linux enterprise module for web and scripting 15 sp6 | 2.6.4-150600.3.3.1 | fixed |
| Opensuse | php-composer2 | leap 15.6 | 2.6.4-150600.3.3.1 | fixed |
| Suse | php-composer2 | linux enterprise module for web and scripting 15 sp5 | 2.2.3-150400.3.12.1 | fixed |
| Suse | php-composer2 | linux enterprise high performance computing 15 sp4-espos | 2.2.3-150400.3.12.1 | fixed |
| Suse | php-composer2 | linux enterprise high performance computing 15 sp4-ltss | 2.2.3-150400.3.12.1 | fixed |
| Suse | php-composer2 | linux enterprise server 15 sp4-ltss | 2.2.3-150400.3.12.1 | fixed |
| Suse | php-composer2 | linux enterprise server for sap applications 15 sp4 | 2.2.3-150400.3.12.1 | fixed |
| Suse | php-composer2 | manager server 4.3 | 2.2.3-150400.3.12.1 | fixed |
| Opensuse | php-composer2 | leap 15.5 | 2.2.3-150400.3.12.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | composer | source | sid | 2.7.7-1 | not yet assigned | Not reported | [1073125] |
| Debian | composer | source | forky | 2.7.7-1 | not yet assigned | Not reported | [1073125] |
| Debian | composer | source | trixie | 2.7.7-1 | not yet assigned | Not reported | [1073125] |
| Debian | composer | source | bookworm | 2.5.5-1+deb12u2 | not yet assigned | Not reported | [1073125] |
| Ubuntu | composer | deb | noble | 2.7.1-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Suse | php-composer2 | rpm | linux enterprise module for web and scripting 15 sp7 | 2.6.4-150600.3.12.1 | Not reported | SUSE-SU-2026:3105-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise server 15 sp6-ltss | 2.6.4-150600.3.12.1 | Not reported | SUSE-SU-2026:3105-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise server for sap applications 15 sp6 | 2.6.4-150600.3.12.1 | Not reported | SUSE-SU-2026:3105-1 | Not reported |
| Ubuntu | composer | deb | pro | 2.7.1-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-35241 | Not reported |
| Opensuse | php-composer2 | rpm | tumbleweed | 2.7.7-1.1 | Not reported | OPENSUSE-SU-2024:14040-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise module for web and scripting 15 sp6 | 2.6.4-150600.3.3.1 | Not reported | SUSE-SU-2024:2107-1 | Not reported |
| Opensuse | php-composer2 | rpm | leap 15.6 | 2.6.4-150600.3.3.1 | Not reported | SUSE-SU-2024:2107-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise module for web and scripting 15 sp5 | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise high performance computing 15 sp4-espos | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise high performance computing 15 sp4-ltss | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise server 15 sp4-ltss | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
| Suse | php-composer2 | rpm | linux enterprise server for sap applications 15 sp4 | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
| Suse | php-composer2 | rpm | manager server 4.3 | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
| Opensuse | php-composer2 | rpm | leap 15.5 | 2.2.3-150400.3.12.1 | Not reported | SUSE-SU-2024:2106-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [composer]Fixed
Details (4)
2.5.5-1+deb12u5· all · bookwormFixed · Fixed:
2.5.5-1+deb12u2usn · composer · debian · bookworm; usn · composer · debian · 12
2.5.5-1+deb12u5· all · bookwormFixed · Fixed:
2.5.5-1+deb12u2usn · composer · debian · bookworm; usn · composer · debian · 12
2.5.5-1+deb12u2· all · bookworm-securityFixed · Fixed:
2.5.5-1+deb12u2usn · composer · debian · bookworm; usn · composer · debian · 12
2.5.5-1+deb12u2· all · bookworm-securityFixed · Fixed:
2.5.5-1+deb12u2usn · composer · debian · bookworm; usn · composer · debian · 12
[Debian 13 (Trixie)]
- [composer]Fixed
Details (2)
2.8.8-1+deb13u3· all · trixieFixed · Fixed:
2.7.7-1usn · composer · debian · 13
2.8.8-1+deb13u3· all · trixieFixed · Fixed:
2.7.7-1usn · composer · debian · 13
[openSUSE Tumbleweed]
- [php-composer2]Fixed
Source package: [php-composer2]
Details (1)
2.10.3-1.1· noarch · tumbleweedFixed · Fixed:
2.7.7-1.1usn · php-composer2 · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3105-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-35241]
- [https://osv.dev/vulnerability/DLA-3838-1]
- [https://osv.dev/vulnerability/DSA-5715-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2106-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2107-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3105-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-35241]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14040-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-35241]
- [https://ubuntu.com/security/notices/USN-7603-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]