CVE-2022-21187

published 14 Mar 2022 · updated 16 Sep 2024

Command Injection

8.1HighCVSS 8.1EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 0.11.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<0.11.10.11.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21187 severity on Zeptric[![CVE-2022-21187](https://zeptric.io/badge/cve/CVE-2022-21187.svg)](https://zeptric.io/cve/CVE-2022-21187)