CVE-2022-21187
Summary
| CVE | CVE-2022-21187 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-14 18:15:00 UTC |
| Updated | 2023-08-08 14:21:00 UTC |
| Description | The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the update_repo function (when using hg), the url parameter is passed to the hg clone command. By injecting some hg options it was possible to get arbitrary command execution. |
Risk And Classification
Problem Types: CWE-88
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Libvcs Project | Libvcs | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Alias command injection by tony · Pull Request #306 · vcs-python/libvcs · GitHub | MISC | github.com | |
| github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12 | MISC | github.com | |
| Command Injection in libvcs | CVE-2022-21187 | Snyk | MISC | snyk.io | |
| libvcs/CHANGES at v0.11.1 · vcs-python/libvcs · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
There are currently no legacy QID mappings associated with this CVE.