Read the docs
TI-2022-05584 Aliases CVE-2022-21187GHSA-mv2w-4jqc-6fg4

Command injection in libvcs

Priority MEDIUM 48CWE-88Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-88.

Summary

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.

Why it matters now

EPSS 0.03624 89th percentileScored 2026-11-07
Fix Fixed libvcs: 0.11.1libvcs (PyPI): 0.11.1+1 more product

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—libvcsbefore 0.11.10.11.1Patch availableCNA
—libvcs (PyPI)before 0.11.10.11.1Patch availableGHSA-mv2w-4jqc-6fg4
—vcspull (PyPI)before 1.11.11.11.1Patch availableGHSA-mv2w-4jqc-6fg4
  • libvcs Vendor— Affected before 0.11.1 Fixed in 0.11.1 Patch available CNA
  • libvcs (PyPI) Vendor— Affected before 0.11.1 Fixed in 0.11.1 Patch available GHSA-mv2w-4jqc-6fg4
  • vcspull (PyPI) Vendor— Affected before 1.11.1 Fixed in 1.11.1 Patch available GHSA-mv2w-4jqc-6fg4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libvcs_project:libvcs:*:*:*:*:*:*:*:*before 0.11.1VulnerableLibvcs Project
  • cpe:2.3:a:libvcs_project:libvcs:*:*:*:*:*:*:*:* Versions before 0.11.1 Vulnerable ·Libvcs Project

Remediation

  • Fix · CNA libvcs Fixed in 0.11.1
  • Fix · GHSA-mv2w-4jqc-6fg4 libvcs (PyPI) Fixed in 0.11.1 Advisory →
  • Fix · GHSA-mv2w-4jqc-6fg4 vcspull (PyPI) Fixed in 1.11.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21187
  2. 2026-10-03 Alias added: GHSA-mv2w-4jqc-6fg4

References

Sources