{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39327", "STATE": "PUBLIC", "TITLE": "Improper Control of Generation of Code ('Code Injection') in Azure CLI" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "azure-cli", "version": { "version_data": [ { "version_value": "< 2.40.0" } ] } } ] }, "vendor_name": "Azure" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-94: Improper Control of Generation of Code ('Code Injection')" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4", "refsource": "CONFIRM", "url": "https://github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4" }, { "name": "https://github.com/Azure/azure-cli/pull/23514", "refsource": "MISC", "url": "https://github.com/Azure/azure-cli/pull/23514" }, { "name": "https://github.com/Azure/azure-cli/pull/24015", "refsource": "MISC", "url": "https://github.com/Azure/azure-cli/pull/24015" } ] }, "source": { "advisory": "GHSA-47xc-9rr2-q7p4", "discovery": "UNKNOWN" } }