PT-2022-14911 · Libvcs · Libvcs
CVSS v4.0
9.3
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
libvcs versions prior to 0.11.1
Description
The issue concerns Command Injection via argument injection. When the
update repo function is called, specifically when using hg, the url parameter is passed to the hg clone command. This allows for the injection of hg options, potentially leading to arbitrary command execution.Recommendations
For versions prior to 0.11.1, update to version 0.11.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
update repo function when using hg until a patch is applied. Avoid using the url parameter in the affected function to minimize the risk of exploitation.Exploit
Fix
Command Injection
Special Elements Injection
Argument Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Libvcs