CVE-2022-21187

Command Injection

High · published March 14, 2022

CVSS v3.1
8.1
EPSS
4%
Percentile
89.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.03624 · 89.5th percentile
Published
2022-03-14T17:15Z
EPSS history
Timeline
  • 14 MAR 17:15Z
    Command Injection
    cvelistv5