CVE-2021-29472
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
Description
Composer's missing argument delimiter can lead to code execution via VCS repository URLs or source download URLs on systems with Mercurial
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 2.0.13-1 | |
| debian | bookworm | fixed | 2.0.9-2 |
| debian | bullseye | fixed | 2.0.9-2 |
| debian | forky | fixed | 2.0.9-2 |
| debian | sid | fixed | 2.0.9-2 |
| debian | trixie | fixed | 2.0.9-2 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | composer/composer | <1.10.22 | 1.10.22 |
| Packagist | composer/composer | >=2.0.0-alpha1,<2.0.13 | 2.0.13 |
References
- https://security-tracker.debian.org/tracker/CVE-2021-29472
- https://github.com/composer/composer/security/advisories/GHSA-h5h8-pc6h-jvvx
- https://nvd.nist.gov/vuln/detail/CVE-2021-29472
- https://blog.sonarsource.com/php-supply-chain-attack-on-composer
- https://getcomposer.org
- https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2021-29472.yaml
- https://github.com/composer/composer
- https://lists.debian.org/debian-lts-announce/2021/05/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FAQUAMGO4Q4BLNZ2OH4CXQD7UK4IO2GE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KN3DMFH42BJW45VT6FYF2RXKC26D6VC2
- https://www.debian.org/security/2021/dsa-4907
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.