CVE-2024-35242
Last modified
CVE-2024-35242 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `composer install` command running inside a git/hg repository which has specially crafted branch names can lead to command injection. EPSS estimates a 3.26% chance of exploitation in the next 30 days.
Description
Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `composer install` command running inside a git/hg repository which has specially crafted branch names can lead to command injection. This requires cloning untrusted repositories. Patches are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid cloning potentially compromised repositories.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-35242?
How severe is CVE-2024-35242?
How do I fix CVE-2024-35242?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-35237MIT IdentiBot is an open-source Discord bot written in Node.…7.5
- CVE-2024-35238Minder by Stacklok is an open source software supply chain s…5.3
- CVE-2024-35239Umbraco Commerce is an open source dotnet web forms solution…5.4
- CVE-2024-3524A vulnerability, which was classified as problematic, has be…5.4
- CVE-2024-35240Umbraco Commerce is an open source dotnet ecommerce solution…5.4
- CVE-2024-35241Composer is a dependency manager for PHP. On the 2.x branch …8.8
- CVE-2024-35244There are several hidden accounts. Some of them are intended…9.1
- CVE-2024-35245Uncontrolled search path element in some Intel(R) PROSet/Wir…6.7
- CVE-2024-35246An attacker may be able to cause a denial-of-service conditi…8.7
- CVE-2024-35247In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35248Microsoft Dynamics 365 Business Central Elevation of Privile…7.3
- CVE-2024-35249Microsoft Dynamics 365 Business Central Remote Code Executio…8.8
Are you affected by CVE-2024-35242?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
