composer/composer
Affected
- introduced
2.0, fixed2.2.24(ecosystem)
Fixed versions
2.2.24
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-composer-2024-35242, CVE-2024-35242
Composer has multiple command injections via malicious git/hg branch names
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.
High Basis: The source's own band: HIGH
2.0, fixed 2.2.24 (ecosystem)2.2.24
The export has no generic command for this ecosystem.
2.3, fixed 2.7.7 (ecosystem)2.7.7
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0