{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-39327","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","dateUpdated":"2025-04-22T17:17:26.636Z","dateReserved":"2022-09-02T00:00:00.000Z","datePublished":"2022-10-25T00:00:00.000Z"},"containers":{"cna":{"title":"Improper Control of Generation of Code ('Code Injection') in Azure CLI","providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2022-10-25T00:00:00.000Z"},"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"Azure","product":"azure-cli","versions":[{"version":"< 2.40.0","status":"affected"}]}],"references":[{"url":"https://github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4"},{"url":"https://github.com/Azure/azure-cli/pull/23514"},{"url":"https://github.com/Azure/azure-cli/pull/24015"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]}],"source":{"advisory":"GHSA-47xc-9rr2-q7p4","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T12:00:44.150Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4","tags":["x_transferred"]},{"url":"https://github.com/Azure/azure-cli/pull/23514","tags":["x_transferred"]},{"url":"https://github.com/Azure/azure-cli/pull/24015","tags":["x_transferred"]}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:40:50.784619Z","id":"CVE-2022-39327","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-22T17:17:26.636Z"}}]}}