CVE-2022-21187

HIGH

Libvcs < 0.11.1 - Command Injection

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 8.1
EPSS 0.0128
EPSS Percentile 79.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-88
Status published
Products (3)
libvcs_project/libvcs < 0.11.1
pypi/libvcs 0 - 0.11.1PyPI
pypi/vcspull 0 - 1.11.1PyPI
Published Mar 14, 2022
Tracked Since Feb 18, 2026