VULNERABILITY INTELLIGENCE

CVE-2022-21187

CVSS score8.1 HIGH
EPSS probability3.62%
CISA KEVNot currently listed
Published2022-03-14
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

Weakness classification

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Primary references