Advisory

GO-2022-0414

Also known as: CVE-2022-21235, GHSA-6635-c626-vj4r

Summary

Command injection in github.com/Masterminds/vcs

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:08 UTC
Modified
2026-03-16 03:10 UTC

Affected packages and fixes

github.com/Masterminds/vcs

Go · All systems

Affected

  • introduced 0, fixed 1.13.3 (semver)

Fixed versions

1.13.3

Fix

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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences