Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Command Injection

CVSS 3.1 8.1 HIGHEUVD CVSS 3.1 8.1 CVSS 3.1 · [email protected] · Secondary 8.1 HIGHCVSS 3.1 · [email protected] · Primary 9.8 CRITICALCVSS 2.0 · [email protected] · Primary 6.8 MEDIUMCVSS_V3 Publisher rating CRITICALFixed by github.com/Masterminds/vcs 1.13.2osv · severity unknownFixed by github.com/Masterminds/vcs 1.13.3KEV status unknown

cve-program · CVE-2022-21235

Published

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.

Read the publisher's advisory

euvd · EUVD-2022-1643

Published

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.

Read the publisher's advisory

nvd · CVE-2022-21235

Published

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.

Read the publisher's advisory

osv · GHSA-6635-c626-vj4r

Published

URLs and local file paths passed to the Mercurial (hg) APIs that are specially crafted can contain commands which are executed by Mercurial if it is installed on the host operating system. The `vcs` package uses the underly version control system, in this case `hg`, to implement the needed functionality. 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. Other version control systems with an implemented interface may also be vulnerable. The issue has been fixed in version 1.13.2. A work around is to sanitize data passed to the `vcs` package APIs to ensure it does not contain commands or unexpected data. This is important for user input data that is passed directly to the package APIs.

Read the publisher's advisory

osv · GO-2022-0414

Published

Passing untrusted inputs to VCS functions can permit an attacker to execute arbitrary commands. The vcs package executes version control commands with user-provided arguments. These arguments can be interpreted as command-line flags, which can be used to perform command injection.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-21235

Published

github.com/Masterminds/vcs

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "github.com/Masterminds/vcs",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "lessThan": "1.13.3",
                            "status": "affected",
                            "version": "unspecified",
                            "versionType": "custom"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2022-1643

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 1, 2022, 3:55:10 PM

dateUpdated: Sep 17, 2024, 12:20:56 AM

5 related source bulletins · separate from aliases

WID-SEC-W-2023-2067: Red Hat OpenStack: Schwachstelle ermöglicht Codeausführung

CVE-2022-21235

RHSA-2023:4582: Red Hat Security Advisory: Release of containers for Red Hat OpenStack Platform 17.1 director Operator

CVE-2022-21235

RHSA-2023:4053: Red Hat Security Advisory: OpenShift Container Platform 4.11.45 bug fix and security update

CVE-2022-21235

msrc_CVE-2022-21235: Command Injection

CVE-2022-21235

RHSA-2023:4694: Red Hat Security Advisory: Release of containers for OSP 16.2.z (Train) director Operator

CVE-2022-21235

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2022-21235

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-88

Original publisher date fields

published: 2022-04-01T16:15:07.547

lastModified: 2026-06-17T04:25:50.013

1 source CPE criteria · context only
  • cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-6635-c626-vj4r

Published

github.com/Masterminds/vcs

Go

SEMVER · introduced 0 → fixed 1.13.2

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2022-0414

Published

github.com/Masterminds/vcs

Go

SEMVER · introduced 0 → fixed 1.13.3

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 04:49 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current