MTIby Motiontic
Colour theme
VulnerabilityCVE-2024-35242GHSA-v9qv-c7wm-wgmf

Composer vulnerable to command injection via malicious git/hg branch names

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • PoC-in-GitHub Source: PoC-in-GitHub