Vulnerabilities · 2022 · Microsoft
CVE-2022-39327
Microsoft Azure Command-line Interface vulnerability
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.
Affected products
Azure Command-line Interface. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Microsoft Azure Command-line Interface runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Azure/azure-cli/pull/23514 · Exploit
- github.com/Azure/azure-cli/pull/24015 · Patch
- github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-39327
- github.com/pypa/advisory-database/tree/main/vulns/azure-cli/PYSEC-2022-43177.yaml
- github.com/advisories/GHSA-47xc-9rr2-q7p4
- nvd.nist.gov/vuln/detail/CVE-2022-39327
- cve.org/CVERecord?id=CVE-2022-39327
More vulnerabilities in Microsoft products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.