GHSA-v9qv-c7wm-wgmfHighCVSS 8.8

Composer has multiple command injections via malicious git/hg branch names

Published
June 10, 2024
Last Modified
February 13, 2025

🔗 CVE IDs covered (1)

📋 Description

Impact

The composer install command running inside a git/hg repository which has specially crafted branch names can lead to command injection. So this requires cloning untrusted repositories.

Patches

2.2.24 for 2.2 LTS or 2.7.7 for mainline

Workarounds

Avoid cloning potentially compromised repositories.

🎯 Affected products2

  • composer/composer/composer:>= 2.0, < 2.2.24
  • composer/composer/composer:>= 2.3, < 2.7.7

🔗 References (7)