CVE-2024-24821 is a local privilege escalation vulnerability affecting Composer, the PHP dependency manager, in versions prior to 2.7.0 and 2.2.23. It allows arbitrary code execution when Composer is invoked in a directory with tampered files, potentially leading to root privilege escalation, lateral movement, or malicious code execution. Rated with a CVSS score of 7.8 (High), this vulnerability has a low attack complexity and requires local access but no user interaction. While there is no evidence of active exploitation, public exploit code, or significant community discussion, immediate patching is advised, or mitigation strategies like removing sudo Composer privileges and verifying vendor files should be implemented.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 2.0.0, < 2.2.23CPE matchmatch criteria | cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* | ||
>= 2.3.0, < 2.7.0CPE matchmatch criteria | cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.