CVE-2022-21187 – libvcs
Package
Manager: pip
Name: libvcs
Vulnerable Version: >=0 <0.11.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.0102 pctl0.76367
Details
Command injection in libvcs and vcspull 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.
Metadata
Created: 2022-03-15T00:00:53Z
Modified: 2024-09-27T21:36:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-mv2w-4jqc-6fg4/GHSA-mv2w-4jqc-6fg4.json
CWE IDs: ["CWE-74", "CWE-77"]
Alternative ID: GHSA-mv2w-4jqc-6fg4
Finding: F422
Auto approve: 1