Command injection in libvcs and vcspull
Critical severity
GitHub Reviewed
Published
Mar 15, 2022
to the GitHub Advisory Database
•
Updated Sep 27, 2024
Description
Published by the National Vulnerability Database
Mar 14, 2022
Published to the GitHub Advisory Database
Mar 15, 2022
Reviewed
Mar 15, 2022
Last updated
Sep 27, 2024
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.
References