Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/Masterminds/vcs: CVE-2022-21235 #414

Closed
GoVulnBot opened this issue Apr 1, 2022 · 1 comment
Closed
Assignees

Comments

@GoVulnBot
Copy link

CVE-2022-21235 references github.com/Masterminds/vcs, which may be a Go module.

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.

Links:

See doc/triage.md for instructions on how to triage this report.

module: github.com/Masterminds/vcs
package: github.com/Masterminds/vcs
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.

cves:
  - CVE-2022-21235
credit: Alessio Della Libera of Snyk Research Team
links:
    pr: https://github.com/Masterminds/vcs/pull/105
    context:
      - https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078

@julieqiu julieqiu self-assigned this Apr 4, 2022
@julieqiu julieqiu removed their assignment Jun 15, 2022
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/414816 mentions this issue: x/vulndb: add reports/GO-2022-0414.yaml for CVE-2022-21235

@neild neild self-assigned this Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants