CVE-2022-21235

HIGH

Vcs < 1.1.13 - Command Injection

Title source: rule

Description

The package github.com/masterminds/vcs before 1.13.3 are vulnerable to Command Injection via argument injection. When hg is executed, argument strings are passed to hg in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Scores

CVSS v3 8.1
EPSS 0.0041
EPSS Percentile 61.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-88
Status published

Affected Products (2)

vcs_project/vcs < 1.1.13
Masterminds/vcs < 1.13.2Go

Timeline

Published Apr 01, 2022
Tracked Since Feb 18, 2026