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. Learn more

Threat Intelligence

EPSS
0.76% (82nd 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-AZUREIDENTITY-6009155
  • published19 Oct 2023
  • disclosed10 Oct 2023
  • creditMartin Wrona

Introduced: 10 Oct 2023

CVE-2023-36414  (opens in a new tab)
CWE-94  (opens in a new tab)

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

CVSS Scores

version 3.1