What’s Vulnerable › Vulnerabilities

CVE-2022-21235: Command Injection

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.

Affected products

How to fix

Upgrade to a fixed version: github.com/Masterminds/vcs 1.1.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-21235 or the next vulnerability affects your stack