RCE in Azure Azure-Cli
CVE-2022-39327
Azure CLI is the command-line interface for Microsoft Azure. In versions previous to 2.40.0, Azure CLI contains a vulnerability for potential code injection. Critical scenarios are where a hosting machine runs an Azure CLI command where parameter values have been provided by an external source. The vulnerability is only applicable when the Azure CLI command is run on a Windows machine and with any version of PowerShell and when the parameter value contains the `&` or `|` symbols. If any of these prerequisites are not met, this vulnerability is not applicable. Users should upgrade to version 2.40.0 or greater to receive a a mitigation for the vulnerability.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.042, 91.2th percentile (scored ); up from 0.035 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.042 · change: +0.007
Affected products
- Azure Azure-Cli — versions < 2.40.0
- Microsoft Azure Command-Line Interface
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (dipakmohan/Capstone-Project--Malware-Analyst). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4 (Exploit, Third Party Advisory, Mitigation)
- github.com/Azure/azure-cli/pull/23514 (Exploit, Patch, Third Party Advisory)
- github.com/Azure/azure-cli/pull/24015 (Patch, Third Party Advisory)