RCE in Composer

CVE-2024-35241

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 re…

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.010 (59.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Composer — versions >= 2.0, < 2.2.24, >= 2.3, < 2.7.7

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-35241?
CVE-2024-35241 is a high-severity vulnerability in Composer, classified under Command Injection. CVSS score: 8.8/10. Published 2024-06-10.
How severe is CVE-2024-35241?
High severity. CVSS v3 base score is 8.8 out of 10.