Remote Code Execution (RCE) Affecting azure.identity package, versions [,1.10.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.69% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DOTNET-AZUREIDENTITY-6009155
  • published 19 Oct 2023
  • disclosed 10 Oct 2023
  • credit Martin Wrona

How to fix?

Upgrade Azure.Identity to version 1.10.2 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) by passing a specially crafted OS-level command to a specific SDK property which is passed to the underlying CLI.

By exploiting this vulnerability an attacker could gain high privileges, which include read, write, and delete functionality. The attacker needs to be authenticated as a normal user.

Note

The following credential types provided by the Azure Identity client library are affected:

  1. DefaultAzureCredential

  2. AzureCliCredential

  3. AzureDeveloperCliCredential

  4. AzurePowerShellCredential

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

8.8 high