PYSEC-2022-43177

    Dashboard / Vulnerabilities / PYSEC-2022-43177

    PYSEC-2022-43177

    Published: 25 Oct 2022Last Modified: 10 Jun 2026

    Summary:

    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.

    Affected packages

    Package

    Name: azure-cli

    Purl: pkg:pypi/azure-cli

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.40.0

    Affected versions

    0.1.0b10
    0.1.0b11
    0.1.0b4
    0.1.0b7
    0.1.0b8
    0.1.0b9
    0.1.1b1
    0.1.1b2
    0.1.1b3
    0.1.2rc1
    0.1.2rc2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2022-43177 | CVE-DB