Vulnerability

CVE-2022-21187

criticalCVSS 3.1 9.8Published 14 Mar 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Libvcs Project libvcs

Weakness type

References

  • github.com /vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-…
  • github.com /vcs-python/libvcs/pull/306
  • snyk.io /vuln/SNYK-PYTHON-LIBVCS-2421204

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning