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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/Masterminds/vcs | before 1.13.3 | 1.13.3 | Patch available | CNA |
| — | github.com/Masterminds/vcs (Go) | before 1.13.2 | 1.13.2 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:* | before 1.1.13 | Vulnerable | Vcs 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 ModerateRelease 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 ModerateRelease 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 ImportantOpenShift 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 →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Serverless | Affected | No fix yet |
| Red Hat Advanced Cluster Security 3 | Affected | No fix yet |
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform Assisted Installer 1 | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix yet |
| Red Hat Openshift Container Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4.11 | Fixed | RHSA-2023:4053 |
| Red Hat OpenStack Platform 16.2 | Fixed | RHSA-2023:4694 |
| Red Hat OpenStack Platform 17.1 | Fixed | 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
- 2026-10-02 Threatist record created from CVE-2022-21235
- 2026-10-03 Alias added: GHSA-6635-c626-vj4r
References
Sources
- CVE-2022-21235 · CVE Program
- CVE-2022-21235 · NVD
- FIRST EPSS
- GHSA-6635-c626-vj4r · GitHub Advisory Database · CC BY 4.0
- CVE-2022-21235 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences