{"id":"UBUNTU-CVE-2022-39327","details":"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.","modified":"2025-10-24T04:53:50Z","published":"2022-10-25T17:15:00Z","upstream":["CVE-2022-39327"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-39327"},{"type":"REPORT","url":"https://github.com/Azure/azure-cli/security/advisories/GHSA-47xc-9rr2-q7p4"},{"type":"REPORT","url":"https://github.com/Azure/azure-cli/pull/23514"},{"type":"REPORT","url":"https://github.com/Azure/azure-cli/pull/24015"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-39327"}],"affected":[{"package":{"name":"azure-cli","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/azure-cli@2.0.81+ds-4ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.81+ds-2","2.0.81+ds-3","2.0.81+ds-4","2.0.81+ds-4ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"azure-cli","binary_version":"2.0.81+ds-4ubuntu0.2"},{"binary_name":"python3-azure-cli","binary_version":"2.0.81+ds-4ubuntu0.2"},{"binary_name":"python3-azure-cli-core","binary_version":"2.0.81+ds-4ubuntu0.2"},{"binary_name":"python3-azure-cli-telemetry","binary_version":"2.0.81+ds-4ubuntu0.2"},{"binary_version":"2.0.81+ds-4ubuntu0.2","binary_name":"python3-azure-cli-testsdk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-39327.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}