CVE-2022-21235
Last modified
CVE-2022-21235 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.82% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vcs Project | Vcs | < 1.1.13 |
References
- https://github.com/Masterminds/vcs/pull/105Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078Third Party Advisory
- https://github.com/Masterminds/vcs/pull/105Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21235?
How severe is CVE-2022-21235?
How do I fix CVE-2022-21235?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-21229Improper buffer restrictions for some Intel(R) NUC 9 Extreme…7.8
- CVE-2022-2123The WP Opt-in WordPress plugin through 1.4.1 is vulnerable t…4.3
- CVE-2022-21230This affects all versions of package org.nanohttpd:nanohttpd…5.5
- CVE-2022-21231All versions of package deep-get-set are vulnerable to Proto…9.8
- CVE-2022-21233Improper isolation of shared resources in some Intel(R) Proc…5.5
- CVE-2022-21234An SQL injection vulnerability exists in the EchoAssets.aspx…8.8
- CVE-2022-21236An information disclosure vulnerability exists due to a web …7.5
- CVE-2022-21237Improper buffer access in firmware for some Intel(R) NUCs ma…6.7
- CVE-2022-21238A cross-site scripting (xss) vulnerability exists in the inf…6.1
- CVE-2022-21239Out-of-bounds read in software for the Intel QAT Driver for …5.5
- CVE-2022-2124Buffer Over-read in GitHub repository vim/vim prior to 8.2.7.8
- CVE-2022-21240Out of bounds read for some Intel(R) PROSet/Wireless WiFi pr…4.4
Are you affected by CVE-2022-21235?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
