libvcs
Affected
- introduced
0, fixed0.11.1(ecosystem)
Fixed versions
0.11.1
Fix
- Fixed version
0.11.1pip install --upgrade libvcs==0.11.1
Advisory
Also known as: CVE-2022-21187, PYSEC-2022-163, PYSEC-2026-563, 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.
Critical Basis: The source's own band: CRITICAL
0, fixed 0.11.1 (ecosystem)0.11.1
0.11.1pip install --upgrade libvcs==0.11.10, 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0