CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8) in getcomposer composer. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in composer/composer 2.2.23, 2.7.0.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hcomposer/composer (Packagist): fixed in 2.2.23, 2.7.0Explain CVE-2024-24821 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-24821?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-24821?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-24821 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 NVD's CPE matches.
| Product | Affected |
|---|---|
| getcomposer:composer | from 2.0.0 before 2.2.23 |
| getcomposer:composer | from 2.3.0 before 2.7.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7c6p-848j-wh5h | Packagist | composer/composer | >=2.0.0-alpha1 <2.2.23 | 2.2.23 |
| GHSA-7c6p-848j-wh5h | Packagist | composer/composer | >=2.3.0-rc1 <2.7.0 | 2.7.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | composer | 2.0.9-2+deb11u2 | DSA-5632-1 |
| Debian | 12 | composer | 2.5.5-1+deb12u1 | DEBIAN-CVE-2024-24821 DSA-5632-1 |
| Debian | 13, 14 | composer | 2.7.1-1 | DEBIAN-CVE-2024-24821 |
| Ubuntu | Pro:16.04:LTS | composer | 1.0.0~beta2-1ubuntu0.1~esm2 | USN-7603-1 |
| Ubuntu | Pro:18.04:LTS | composer | 1.6.3-1ubuntu0.1~esm2 | USN-7603-1 |
| Ubuntu | Pro:20.04:LTS | composer | 1.10.1-1ubuntu0.1~esm2 | USN-7603-1 |
| Ubuntu | Pro:22.04:LTS | composer | 2.2.6-2ubuntu4+esm1 | UBUNTU-CVE-2024-24821 USN-7603-1 |
| Ubuntu | Pro:24.04:LTS | composer | 2.7.1-2ubuntu0.1~esm1 | 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.9.1 | SUSE-SU-2024:0592-1 |
| openSUSE | Leap 15.5 | php-composer2 | 2.2.3-150400.3.9.1 | SUSE-SU-2024:0592-1 |
| openSUSE | Tumbleweed | php-composer2 | 2.7.1-1.1 | openSUSE-SU-2024:13681-1 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | composer | 2.7.0-r0 | ALPINE-CVE-2024-24821 |
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. More on the page of CWE-829 (13).