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 #279

Open
jba opened this issue Apr 1, 2022 · 0 comments
Open

Comments

@jba
Copy link
Owner

jba commented Apr 1, 2022

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

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

1 participant