vcspull
Affected
- introduced
0, fixed1.11.1(ecosystem)
Fixed versions
1.11.1
Fix
- Fixed version
1.11.1pip install --upgrade vcspull==1.11.1
Advisory
Also known as: CVE-2022-21187, GHSA-mv2w-4jqc-6fg4, PYSEC-2022-163, SNYK-PYTHON-LIBVCS-2421204
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.
High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
0, fixed 1.11.1 (ecosystem)1.11.1
1.11.1pip install --upgrade vcspull==1.11.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0