CVSS 3.1 Score 7.8 of 10 (high)


Published Feb 9, 2024
Updated: Feb 16, 2024
CWE ID 829


CVE-2024-24821 is a vulnerability affecting Composer, a dependency manager for the PHP language. The vulnerability allows for arbitrary code execution and local privilege escalation when Composer is invoked within a directory with tampered files. This poses a high risk in scenarios such as running Composer with sudo, executing Composer on untrusted projects in pipelines, and shared environments with developers running Composer individually on the same project. The vulnerability has been addressed in versions 2.7.0 and 2.2.23 of Composer, and it is recommended to apply the patched versions as soon as possible. To mitigate the vulnerability, sudo composer privileges should be removed for all users if patching is not feasible. The severity of this vulnerability is rated as HIGH with a base score of 7.8 according to NIST's Common Vulnerability Scoring System (CVSS).

Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2024-24821 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options