Read the docs
TI-2022-05626 Aliases CVE-2022-21235GHSA-6635-c626-vj4r

Command injection in github.com/Masterminds/vcs

Priority MEDIUM 45CWE-88Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 3 fixed, 8 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-88.

Summary

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.

Why it matters now

EPSS 0.01585 75th percentileScored 2026-11-07
Fix Partial github.com/Masterminds/vcs: 1.13.3github.com/Masterminds/vcs (Go): 1.13.2Red Hat: 3 advisoriesRed Hat: 3 fixed, 8 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/Masterminds/vcsbefore 1.13.31.13.3Patch availableCNA
—github.com/Masterminds/vcs (Go)before 1.13.21.13.2Patch availableGHSA-6635-c626-vj4r
  • github.com/Masterminds/vcs Vendor— Affected before 1.13.3 Fixed in 1.13.3 Patch available CNA
  • github.com/Masterminds/vcs (Go) Vendor— Affected before 1.13.2 Fixed in 1.13.2 Patch available GHSA-6635-c626-vj4r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:*before 1.1.13VulnerableVcs Project
  • cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:* Versions before 1.1.13 Vulnerable ·Vcs Project

Remediation

  • Fix · CNA github.com/Masterminds/vcs Fixed in 1.13.3
  • Fix · GHSA-6635-c626-vj4r github.com/Masterminds/vcs (Go) Fixed in 1.13.2 Advisory →

Red Hat 3 advisories

  • RHSA-2023:4694 Released 2023-08-22 · Red Hat rating Moderate
    Release of containers for OSP 16.2.z (Train) director Operator
    • Red Hat OpenStack Platform 16.2 rhosp-rhel8/osp-director-operator
  • RHSA-2023:4582 Released 2023-08-16 · Red Hat rating Moderate
    Release of containers for Red Hat OpenStack Platform 17.1 director Operator
    • Red Hat OpenStack Platform 17.1 rhosp-rhel9/osp-director-agent
  • RHSA-2023:4053 Released 2023-07-19 · Red Hat rating Important
    OpenShift Container Platform 4.11.45 bug fix and security update
    • Red Hat OpenShift Container Platform 4.11 openshift4/ose-agent-installer-csr-approver-rhel8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift ServerlessAffectedNo fix yet
Red Hat Advanced Cluster Security 3AffectedNo fix yet
Red Hat Ansible Automation Platform 1.2AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat OpenShift Container Platform Assisted Installer 1AffectedNo fix yet
Red Hat OpenShift GitOpsAffectedNo fix yet
Red Hat Openshift Container Storage 4AffectedNo fix planned: Out of support scope
Red Hat Openshift Data Foundation 4AffectedNo fix yet
Red Hat OpenShift Container Platform 4.11Fixed RHSA-2023:4053
Red Hat OpenStack Platform 16.2Fixed RHSA-2023:4694
Red Hat OpenStack Platform 17.1Fixed RHSA-2023:4582
Not affected: 8 products
  • OpenShift Developer Tools and Services
  • Red Hat 3scale API Management Platform 2
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 4.11
  • Red Hat OpenStack Platform 16.2
  • Red Hat OpenStack Platform 17.1
  • Red Hat Openshift Data Foundation 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21235
  2. 2026-10-03 Alias added: GHSA-6635-c626-vj4r

References

Sources