CVE-2024-35255 Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
Attackers can exploit a race condition in Azure Identity and MSAL libraries to achieve privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35255?
CVE-2024-35255 is a medium-severity vulnerability in Microsoft Azure Identity Library, published on 11 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
Weakness: CWE-362
Which versions are affected by CVE-2024-35255?
20 open source packages ship an affected version, including Microsoft.Identity.Client, github.com/Azure/azure-sdk-for-go/sdk/azidentity and com.azure:azure-identity. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.Identity.Client NuGet | From 4.49.1 | 4.60.4 |
Microsoft.Identity.Client NuGet | From 4.49.1 | 4.60.4 |
Microsoft.Identity.Client NuGet | From 4.61.0 | 4.61.3 |
Microsoft.Identity.Client NuGet | From 4.61.0 | 4.61.3 |
github.com/Azure/azure-sdk-for-go/sdk/azidentity Go | All versions | 1.6.0 |
github.com/Azure/azure-sdk-for-go/sdk/azidentity Go | All versions | 1.6.0-beta.4.0.20240610221955-50774cd97099 |
14 more packages
github.com/Azure/azure-sdk-for-go/sdk/azidentity Go | All versions | 1.6.0-beta.4.0.20240610221955-50774cd97099 |
com.azure:azure-identity Maven | All versions | 1.12.2 |
com.azure:azure-identity Maven | All versions | 1.12.2 |
com.microsoft.azure:msal4j Maven | From 1.14.4-beta | 1.15.1 |
com.microsoft.azure:msal4j Maven | From 1.14.4-beta | 1.15.1 |
Azure.Identity NuGet | All versions | 1.11.4 |
Azure.Identity NuGet | All versions | 1.11.4 |
azure-identity PyPI | All versions | 1.16.1 |
azure-identity PyPI | All versions | 1.16.1 |
azure-identity PyPI | All versions | 1.16.1 |
@azure/identity npm | All versions | 4.2.1 |
@azure/identity npm | All versions | 4.2.1 |
@azure/msal-node npm | From 2.7.0 | 2.9.2 |
@azure/msal-node npm | From 2.7.0 | 2.9.2 |
Linux distribution packages (13)
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 1.10.0.0-150200.6.7.1 |
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 1.10.0.0-150200.6.7.1 |
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 1.15.0-150400.11.6.1 |
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 1.10.0.0-150200.6.7.1 |
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 1.15.0-150400.11.6.1 |
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | All versions | 1.10.0.0-150200.6.7.1 |
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | All versions | 1.15.0-150400.11.6.1 |
python-azure-identity openSUSE:Leap 15.5 | All versions | 1.15.0-150400.11.6.1 |
python-azure-identity openSUSE:Leap 15.6 | All versions | 1.10.0.0-150200.6.7.1 |
python-azure-identity openSUSE:Leap 15.6 | All versions | 1.15.0-150400.11.6.1 |
python-azure-identity openSUSE:Tumbleweed | All versions | 1.18.0-1.1 |
python-azure-identity openSUSE:Tumbleweed | All versions | 1.25.3-1.3 |
teleport openSUSE:Tumbleweed | All versions | 15.4.3-1.1 |
Products include Microsoft Authentication Library, Microsoft Azure Identity Sdk.
How do I fix CVE-2024-35255?
Upgrade Microsoft.Identity.Client to a fixed version for your release line: 4.60.4 or 4.61.3.
Is CVE-2024-35255 being exploited?
There is no known exploitation of CVE-2024-35255 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Azure Identity Library
Sources
Also known as AZL-42637, AZL-42646, AZL-42649, AZL-42655, AZL-42664, AZL-42789 and 24 more.