Arbitrary Command Injection
Critical severity
GitHub Reviewed
Published
Jun 29, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Jun 28, 2021
Reviewed
Jun 29, 2021
Published to the GitHub Advisory Database
Jun 29, 2021
Last updated
Feb 1, 2023
This affects all versions of package wincred. If attacker-controlled user input is given to the getCredential function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
References