CVE-2021-29472 — Argument Injection in Composer
Severity
8.8HIGHNVD
EPSS
3.6%
top 12.23%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 27
Latest updateJul 8
Description
Composer is a dependency manager for PHP. URLs for Mercurial repositories in the root composer.json and package source download URLs are not sanitized correctly. Specifically crafted URL values allow code to be executed in the HgDriver if hg/Mercurial is installed on the system. The impact to Composer users directly is limited as the composer.json file is typically under their own control and source download URLs can only be supplied by third party Composer repositories they explicitly trust to …
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9
Affected Packages4 packages
Also affects: Debian Linux 10.0, 9.0, Fedora 33, 34
🔴Vulnerability Details
4GHSA▶
Composer's missing argument delimiter can lead to code execution via VCS repository URLs or source download URLs on systems with Mercurial↗2021-04-29
OSV▶
Composer's missing argument delimiter can lead to code execution via VCS repository URLs or source download URLs on systems with Mercurial↗2021-04-29
CVEList▶
Missing argument delimiter can lead to code execution via VCS repository URLs or source download URLs on systems with Mercurial in composer↗2021-04-27