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

Command injection due to use of child.execSync with unsanitized user input #49

Closed
djameson42 opened this issue Oct 19, 2022 · 1 comment

Comments

@djameson42
Copy link

This action seems vulnerable to command injection due to the use of child.execSync on unsanitized user input. See here for documentation which says

"Never pass unsanitized user input to this function. Any input containing shell metacharacters may be used to trigger arbitrary command execution."

Is there any plans to change this? Or is it by design to execute user input inside a shell in this way?

This also affects other bufbuild/buf-* actions

@emcfarlane
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants