CVE-2024-35255 — Vulnerability in azure-identity — CVE Details
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
Summary
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 install "azure-identity>=1.16.1"
npm install @azure/identity@4.2.1
<!-- Update pom.xml dependency version to 1.12.2 for com.azure:azure-identity -->
dotnet add package Azure.Identity --version 1.11.4
dotnet add package Microsoft.Identity.Client --version 4.60.4
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.6.0-beta.4.0.20240610221955-50774cd97099
dotnet add package Microsoft.Identity.Client --version 4.61.3
<!-- Update pom.xml dependency version to 1.15.1 for com.microsoft.azure:msal4j -->
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).
| Package | Ecosystem | Affected | Fixed 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 versions | 4.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 versions | 1.6.0-beta.4.0.20240610221955-50774cd97099 |
| Microsoft.Identity.Client | nuget | 4.61.0, 4.61.1, 4.61.2 | 4.61.3 |
| com.microsoft.azure:msal4j | maven | 1.14.4-beta, 1.15.0 | 1.15.1 |
| @azure/msal-node | npm | All versions | 2.9.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-362
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-35255ADVISORY
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4806#issuecomment-2178960340WEB
- https://github.com/Azure/azure-sdk-for-go/commit/50774cd9709905523136fb05e8c85a50e8984499WEB
- https://github.com/Azure/azure-sdk-for-java/commit/5bf020d6ea056de40e2738e3647a4e06f902c18dWEB
- https://github.com/Azure/azure-sdk-for-js/commit/c6aa75d312ae463e744163cedfd8fc480cc8d492WEB
- https://github.com/Azure/azure-sdk-for-net/commit/9279a4f38bf69b457cfb9b354f210e0a540a5c53WEB
- https://github.com/Azure/azure-sdk-for-python/commit/cb065acd7d0f957327dc4f02d1646d4e51a94178WEB
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-35255WEB
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
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-33117CRITICAL
Security feature bypass vulnerability in Azure Key Vault Keys library for Java
- CVE-2023-36414HIGH
Azure Identity SDK Remote Code Execution Vulnerability
- CVE-2026-26118HIGH
Azure MCP Server has Server-Side Request Forgery issue that allows authorized attacker to elevate privileges over a network
- CVE-2026-106111MEDIUM
ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate
- CVE-2026-105848MEDIUM
Payload: Insufficient Access Control in Stripe REST Proxy
- CVE-2024-29992MEDIUM
Azure Identity Library for .NET Information Disclosure Vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies