CVE-2024-35241
Last modified
CVE-2024-35241 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 `status`, `reinstall` and `remove` commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code. EPSS estimates a 1.04% 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 `status`, `reinstall` and `remove` commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code. Patches for this issue are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid installing dependencies via git by using `--prefer-dist` or the `preferred-install: dist` config setting.
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-35241?
How severe is CVE-2024-35241?
How do I fix CVE-2024-35241?
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-35236Audiobookshelf is a self-hosted audiobook and podcast server…4.8
- 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-35242Composer 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
Are you affected by CVE-2024-35241?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
