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.035 (88.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.035 · change: 0.000
Affected products
- Azure Azure-Cli — versions < 2.40.0
- Microsoft Azure Command-Line Interface
- Microsoft Windows
Weakness classification (CWE)
Public proof-of-concept exploits
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)
Frequently asked questions
- What is CVE-2022-39327?
- CVE-2022-39327 is a high-severity vulnerability in Azure Azure-Cli, classified under Code Injection. CVSS score: 8.1/10. Published 2022-10-25.
- How severe is CVE-2022-39327?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2022-39327 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.