Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-21235

30
FAUCET Score

CVE-2022-21235 is a critical command injection vulnerability (CWE-88) affecting versions of github.com/masterminds/vcs prior to 1.13.3. This flaw allows an attacker to inject arbitrary commands when the 'hg' (Mercurial) command is executed, by manipulating argument strings. With a CVSS score of 9.8, it presents a severe risk due to its network-based attack vector, low complexity, and complete compromise of confidentiality, integrity, and availability. Despite its high severity, there is currently no evidence of active exploitation, publicly available exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.1.13CPE matchmatch criteria
cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:*

CVSS Data

CVSS version used by this source: 3.1

8.1HIGH

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.2
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.82%
Probability of exploitation in next 30 days
EPSS Percentile
76.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0182 is in the 65th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (29)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/Masterminds/vcsFixed in: 1.13.2
redhatpatch availablevia redhat_api
Product: Red Hat OpenStack Platform 17.1 for RHEL 9Fixed in: rhosp-rhel9/osp-director-agent:1.3.1-10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-agent-installer-csr-approver-rhel8:v4.11.0-202307072028.p0.gaa46748.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenStack Platform 16.2Fixed in: rhosp-rhel8/osp-director-operator:1.3.0-8
View patch
redhatno patchvia redhat_api
Product: Red Hat Advanced Cluster Security 3Fixed in: advanced-cluster-security/rhacs-scanner-rhel8
redhatno patchvia redhat_api
Product: Red Hat Ansible Automation Platform 1.2Fixed in: helm
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/kubernetes-nmstate-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/oc-mirror-plugin-rhel9
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-alibaba-cloud-controller-manager-rhel9
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-console
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-gcp-filestore-csi-driver-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-gcp-pd-csi-driver-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-operator-registry
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-operator-sdk-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/special-resource-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/topology-aware-lifecycle-manager-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-agent-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-rhel8
redhatno patchvia redhat_api
Product: Red Hat Openshift Data Foundation 4Fixed in: odf4/odf-lvm-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat Openshift Data Foundation 4Fixed in: odf4/odf-multicluster-rhel9-operator
redhatno patchvia redhat_api
Product: Red Hat Openshift Data Foundation 4Fixed in: odf4/odf-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat Openshift Data Foundation 4Fixed in: odf4/odr-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift GitOpsFixed in: openshift-gitops-1/gitops-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift GitOpsFixed in: openshift-gitops-1/kam-delivery-rhel8
redhatno patchvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1/ingress-rhel8-operator
redhatno patchvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1/knative-rhel8-operator
redhatno patchvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1/serverless-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat Advanced Cluster Security 3Fixed in: advanced-cluster-security/rhacs-main-rhel8

Vendor Advisories (3)

redhatCVE-2022-21235Important

github.com/Masterminds/vcs: Command Injection via argument injection

Apr 1, 2023
microsoft2022-Apr/CVE-2022-21235

Command Injection

Apr 12, 2022
goGHSA-6635-c626-vj4rcritical

Command Injection Vulnerability with Mercurial in VCS

Apr 1, 2022

References

github.com / Masterminds/vcs/pull/105
PatchThird Party Advisory
snyk.io / vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078
Third Party Advisory