CVE-2022-21187 HIGH

CVE-2022-21187: Command Injection

Vendor N/A
Product libvcs
Published March 14, 2022
Last update September 16, 2024

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 14, 2022 CVE published
September 16, 2024 Record updated