Command Injection Vulnerability in Composer Affects PHP Projects
CVE-2024-35242
Key Information:
Badges
What is CVE-2024-35242?
A security vulnerability has been identified in the Composer dependency manager for PHP, impacting versions 2.2.x before 2.2.24 and 2.7.x before 2.7.7. This vulnerability arises when the composer install command is executed within a version control repository (git/hg) containing specially crafted branch names. If an untrusted repository is cloned, this could lead to command injection, exposing systems to potential security breaches. Users are advised to apply the available patches or avoid cloning potentially untrustworthy repositories to mitigate the risks associated with this vulnerability.
Affected Version(s)
composer >= 2.0, < 2.2.24 < 2.0, 2.2.24
composer >= 2.3, < 2.7.7 < 2.3, 2.7.7
News Articles
References
EPSS Score
23% chance of being exploited in the next 30 days.
CVSS V3.1
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
- 📰
First article discovered by Sentiguard
Vulnerability published
