@azure/ms-rest-nodeauth is an Azure Authentication library in node.js with type definitions.
Affected versions of this package are vulnerable to Command Injection via the child_process function
execAz(). This function can be injected with arbitrary OS commands. Attackers can exploit this vulnerability by calling
OS command) from the Azure CLI.
auth = require('@azure/ms-rest-nodeauth'); auth.AzureCliCredentials.setDefaultSubscription('$(touch pzhou@shu)');
@azure/ms-rest-nodeauth to version 3.0.8 or higher.