CVE-2024-27086 MSAL.NET applications targeting Xamarin Android and .NET Android (MAUI) susceptible to local denial of service

Low 3.9 Published Updated

A malicious Android app can cause denial of service in MSAL.NET apps by exploiting incorrect activity export configurations, preventing user login.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-27086?

CVE-2024-27086 is a low-severity vulnerability in AzureAD microsoft-authentication-library-for-dotnet, published on 16 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The MSAL library enabled acquisition of security tokens to call protected APIs. MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions 4.48.0 to 4.60.0 are impacted by a low severity vulnerability. A malicious application running on a customer Android device can cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration. MSAL.NET version 4.60.1 includes the fix. As a workaround, a developer may explicitly mark the MSAL.NET activity non-exported.

Weakness: CWE-926, CWE-863

Which versions are affected by CVE-2024-27086?

4 open source packages ship an affected version, including Microsoft.Identity.Client.

PackageAffectedFixed in
Microsoft.Identity.Client NuGetFrom 4.48.04.59.1
Microsoft.Identity.Client NuGetFrom 4.48.04.59.1
Microsoft.Identity.Client NuGetFrom 4.60.04.60.3
Microsoft.Identity.Client NuGetFrom 4.60.04.60.3

How do I fix CVE-2024-27086?

Upgrade Microsoft.Identity.Client to a fixed version for your release line: 4.59.1 or 4.60.3.

Is CVE-2024-27086 being exploited?

There is no known exploitation of CVE-2024-27086 in the wild and no public exploit code.

Sources

Also known as GHSA-x674-v45j-fwxw.

Is CVE-2024-27086 in your software?

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

Check your SBOMs for free