github.com/Masterminds/vcs
Affected
- introduced
0, fixed1.13.3(semver)
Fixed versions
1.13.3
Fix
- Fixed version
1.13.3go get github.com/Masterminds/[email protected]
Advisory
Also known as: CVE-2022-21235, GHSA-6635-c626-vj4r
Command injection in github.com/Masterminds/vcs
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.
Not rated by the source.
0, fixed 1.13.3 (semver)1.13.3
1.13.3go get github.com/Masterminds/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0