Loading...
Skip to main content

CVE-2024-35255 — Vulnerability in azure-identity — CVE Details

MEDIUM

Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

Published June 11, 2024Updated September 10, 2026Source: osv

Summary

Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability.

Advisory Timeline

  • First published June 11, 2024 (853 days ago).
  • Last revised September 10, 2026 — 820 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update azure-identity to 1.16.1 or later
pip install "azure-identity>=1.16.1"
npm
Update @azure/identity to 4.2.1 or later
npm install @azure/identity@4.2.1
Maven
Update com.azure:azure-identity to 1.12.2 or later
<!-- Update pom.xml dependency version to 1.12.2 for com.azure:azure-identity -->
NuGet
Update Azure.Identity to 1.11.4 or later
dotnet add package Azure.Identity --version 1.11.4
NuGet
Update Microsoft.Identity.Client to 4.60.4 or later
dotnet add package Microsoft.Identity.Client --version 4.60.4
Go
Update github.com/Azure/azure-sdk-for-go/sdk/azidentity to 1.6.0-beta.4.0.20240610221955-50774cd97099 or later
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.6.0-beta.4.0.20240610221955-50774cd97099
NuGet
Update Microsoft.Identity.Client to 4.61.3 or later
dotnet add package Microsoft.Identity.Client --version 4.61.3
Maven
Update com.microsoft.azure:msal4j to 1.15.1 or later
<!-- Update pom.xml dependency version to 1.15.1 for com.microsoft.azure:msal4j -->
npm
Update @azure/msal-node to 2.9.2 or later
npm install @azure/msal-node@2.9.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (9)

Affects 5 ecosystems: maven (2), npm (2), nuget (2), go (1), pypi (1).

PackageEcosystemAffectedFixed In
azure-identity
pypi
1.0.0, 1.0.0b1, 1.0.0b2, 1.0.0b3 (+57 more)1.16.1
@azure/identity
npm
All versions4.2.1
com.azure:azure-identity
maven
1.0.0, 1.0.0-preview.1, 1.0.0-preview.2, 1.0.0-preview.3 (+92 more)1.12.2
Azure.Identity
nuget
1.0.0, 1.1.0, 1.1.1, 1.10.0 (+23 more)1.11.4
Microsoft.Identity.Client
nuget
4.49.1, 4.50.0, 4.51.0, 4.52.0 (+16 more)4.60.4
github.com/Azure/azure-sdk-for-go/sdk/azidentity
go
All versions1.6.0-beta.4.0.20240610221955-50774cd97099
Microsoft.Identity.Client
nuget
4.61.0, 4.61.1, 4.61.24.61.3
com.microsoft.azure:msal4j
maven
1.14.4-beta, 1.15.01.15.1
@azure/msal-node
npm
All versions2.9.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2024-35255?
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
How do I check if my project is affected by CVE-2024-35255?
CVE-2024-35255 affects azure-identity, @azure/identity and com.azure:azure-identity (and 5 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-35255 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-m5vv-6r4h-3vj9
GO-2024-2918
PYSEC-2026-1209

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies