CVE-2022-39327: high-severity vulnerability in azure-cli
Improper Control of Generation of Code ('Code Injection') in Azure CLI
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Azure CLI on Windows allows attackers to inject and execute arbitrary code through command parameters containing special characters like & or |. This happens when external sources provide parameter values to Azure CLI commands, potentially compromising the entire system.
Code injection vulnerability in Azure CLI versions before 2.40.0 on Windows systems; attack vector requires unsanitized parameter input containing & or | symbols passed to CLI commands, typically from external sources. Exploitation occurs during command parsing in PowerShell context, allowing arbitrary code execution with privileges of the CLI process.