CVE-2022-21235

Source
https://cve.org/CVERecord?id=CVE-2022-21235
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21235.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21235
Aliases
Related
  • SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078
Published
2022-04-01T16:15:07.547Z
Modified
2026-03-14T11:29:03.837731Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/Masterminds/vcs

Affected ranges

Type
GIT
Repo
https://github.com/Masterminds/vcs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.13.3"
        }
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.2.0
1.3.0
1.3.1
1.4.0
1.4.1
1.5.0
1.5.1
1.6.0
1.6.1
1.7.0
v1.*
v1.10.0
v1.10.1
v1.10.2
v1.11.0
v1.11.1
v1.12.0
v1.13.0
v1.13.1
v1.13.2
v1.8.0
v1.9.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.1.13"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21235.json"