CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8) in composer composer. EPSS 3.3% estimated probability of exploitation activity in the next 30 days. Fixed in composer/composer 2.2.24, 2.7.7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hcomposer/composer (Packagist): fixed in 2.2.24, 2.7.7Explain CVE-2024-35242 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-35242?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-35242?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-35242 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| composer | >= 2.0, < 2.2.24 |
| composer | >= 2.3, < 2.7.7 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v9qv-c7wm-wgmf | Packagist | composer/composer | >=2.0 <2.2.24 | 2.2.24 |
| GHSA-v9qv-c7wm-wgmf | Packagist | composer/composer | >=2.3 <2.7.7 | 2.7.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | composer | 1.8.4-1+deb10u4 | DLA-3838-1 |
| Debian | 11 | composer | 2.0.9-2+deb11u3 | DSA-5715-1 |
| Debian | 12 | composer | 2.5.5-1+deb12u2 | DEBIAN-CVE-2024-35242 DSA-5715-1 |
| Debian | 13, 14 | composer | 2.7.7-1 | DEBIAN-CVE-2024-35242 |
| Ubuntu | Pro:16.04:LTS | composer | 1.0.0~beta2-1ubuntu0.1~esm2 | UBUNTU-CVE-2024-35242 USN-7603-1 |
| Ubuntu | Pro:18.04:LTS | composer | 1.6.3-1ubuntu0.1~esm2 | UBUNTU-CVE-2024-35242 USN-7603-1 |
| Ubuntu | Pro:20.04:LTS | composer | 1.10.1-1ubuntu0.1~esm2 | UBUNTU-CVE-2024-35242 USN-7603-1 |
| Ubuntu | Pro:22.04:LTS | composer | 2.2.6-2ubuntu4+esm1 | UBUNTU-CVE-2024-35242 USN-7603-1 |
| Ubuntu | Pro:24.04:LTS | composer | 2.7.1-2ubuntu0.1~esm1 | UBUNTU-CVE-2024-35242 USN-7603-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Web and Scripting 15 SP5 and 3 more | php-composer2 | 2.2.3-150400.3.12.1 | SUSE-SU-2024:2106-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 15 SP6 | php-composer2 | 2.6.4-150600.3.3.1 | SUSE-SU-2024:2107-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6 | php-composer2 | 2.6.4-150600.3.12.1 | SUSE-SU-2026:3105-1 |
| openSUSE | Leap 15.5 | php-composer2 | 2.2.3-150400.3.12.1 | SUSE-SU-2024:2106-1 |
| openSUSE | Leap 15.6 | php-composer2 | 2.6.4-150600.3.3.1 | SUSE-SU-2024:2107-1 |
| openSUSE | Tumbleweed | php-composer2 | 2.7.7-1.1 | openSUSE-SU-2024:14040-1 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | composer | 2.7.7-r0 | ALPINE-CVE-2024-35242 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.