CVE-2024-35255 Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

Medium 5.5 Published Updated

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.

PackageAffectedFixed in
Microsoft.Identity.Client NuGetFrom 4.49.14.60.4
Microsoft.Identity.Client NuGetFrom 4.49.14.60.4
Microsoft.Identity.Client NuGetFrom 4.61.04.61.3
Microsoft.Identity.Client NuGetFrom 4.61.04.61.3
github.com/Azure/azure-sdk-for-go/sdk/azidentity GoAll versions1.6.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity GoAll versions1.6.0-beta.4.0.20240610221955-50774cd97099
14 more packages
github.com/Azure/azure-sdk-for-go/sdk/azidentity GoAll versions1.6.0-beta.4.0.20240610221955-50774cd97099
com.azure:azure-identity MavenAll versions1.12.2
com.azure:azure-identity MavenAll versions1.12.2
com.microsoft.azure:msal4j MavenFrom 1.14.4-beta1.15.1
com.microsoft.azure:msal4j MavenFrom 1.14.4-beta1.15.1
Azure.Identity NuGetAll versions1.11.4
Azure.Identity NuGetAll versions1.11.4
azure-identity PyPIAll versions1.16.1
azure-identity PyPIAll versions1.16.1
azure-identity PyPIAll versions1.16.1
@azure/identity npmAll versions4.2.1
@azure/identity npmAll versions4.2.1
@azure/msal-node npmFrom 2.7.02.9.2
@azure/msal-node npmFrom 2.7.02.9.2
Linux distribution packages (13)
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP3All versions1.10.0.0-150200.6.7.1
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.10.0.0-150200.6.7.1
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.15.0-150400.11.6.1
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP5All versions1.10.0.0-150200.6.7.1
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP5All versions1.15.0-150400.11.6.1
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP6All versions1.10.0.0-150200.6.7.1
python-azure-identity SUSE:Linux Enterprise Module for Public Cloud 15 SP6All versions1.15.0-150400.11.6.1
python-azure-identity openSUSE:Leap 15.5All versions1.15.0-150400.11.6.1
python-azure-identity openSUSE:Leap 15.6All versions1.10.0.0-150200.6.7.1
python-azure-identity openSUSE:Leap 15.6All versions1.15.0-150400.11.6.1
python-azure-identity openSUSE:TumbleweedAll versions1.18.0-1.1
python-azure-identity openSUSE:TumbleweedAll versions1.25.3-1.3
teleport openSUSE:TumbleweedAll versions15.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.

Sources

Also known as AZL-42637, AZL-42646, AZL-42649, AZL-42655, AZL-42664, AZL-42789 and 24 more.

Is CVE-2024-35255 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free