GitHub Advisoryadvisory · NuGet
GHSA-x674-v45j-fwxw MSAL.NET applications targeting Xamarin Android and .NET Android (MAUI) susceptible to local denial of service
LOW
Official page ↗
- Aliases
- CVE-2024-27086
- Ecosystem
- NuGet
- Packages
- Microsoft.Identity.Client
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-863, CWE-926
- Reviewed
- 2024-04-16
Affected packages
• NuGet Microsoft.Identity.Client: >= 4.48.0, < 4.59.1 → fixed in 4.59.1
• NuGet Microsoft.Identity.Client: >= 4.60.0, < 4.60.3 → fixed in 4.60.3
Description
>[!IMPORTANT]
>ONLY applications targeting Xamarin Android and .NET Android (MAUI) are impacted. All others can safely dismiss this CVE.
Impact
MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions `4.48.0` to `4.60.3` (inclusive, except `4.59.1` and `4.60.3`) are impacted by a low severity vulnerability.
A malicious application running on a customer Android device can (1) inject HTML/JavaScript in an embedded web view exported by affected applications, or (2) 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.
Patches
MSAL.NET version 4.60.3 includes the fix. We recommend all users of MSAL.NET that are building public client applications for Android update to the latest version.
Workarounds
We recommend developers update to the latest version of MSAL.NET. If that is not possible, a developer may explicitly mark the MSAL.NET activity non-exported:
```xml
```
References
Refer to MSAL.NET documentation for latest guidance and best practices on configuring client applications using the library.
Related
Alias · CVE (1)
- CVE-2024-27086 The MSAL library enabled acquisition of security tokens to call protected APIs. vulnerability
References
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/security/advisories/GHSA-x674-v45j-fwxw web
- https://nvd.nist.gov/vuln/detail/CVE-2024-27086 advisory
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/413e319472ccf48c86647f19fa2aa49ff6038488 web
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet package
- https://learn.microsoft.com/en-us/entra/msal/dotnet web
- https://www.nuget.org/packages/Microsoft.Identity.Client web