Critical, CVSS 9.3PyPIAmendedPublished
Command injection in libvcs and vcspull
CVE-2022-21187 · GHSA-mv2w-4jqc-6fg4
- Affected
- PyPI libvcs < 0.11.1
- Fixed in
- 0.11.1· Vendor fix available
- Issue
- The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the updaterepo 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.
Recommended action: Upgrade to 0.11.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.