CVE-2024-24821 — Inclusion of Functionality from Untrusted Control Sphere in Composer
Severity
7.8HIGHNVD
CNA8.8
EPSS
0.1%
top 68.12%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 9
Latest updateJun 30
Description
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'…
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9
Affected Packages4 packages
Patches
🔴Vulnerability Details
5OSV▶
Composer code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php↗2024-02-08
GHSA▶
Composer code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php↗2024-02-08
CVEList▶
Code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php in Composer↗2024-02-08