Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS14Njc0LXY0NWotZnd4d84AA7DY
MSAL.NET applications targeting Xamarin Android and .NET Android (MAUI) susceptible to local denial of service
[!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:
<activity android:name="microsoft.identity.client.AuthenticationAgentActivity" android:configChanges="orientation|screenSize" android:exported="false">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="msalYOUR_CLIENT_ID" android:host="auth" />
</intent-filter>
</activity>
References
Refer to MSAL.NET documentation for latest guidance and best practices on configuring client applications using the library.
Permalink: https://github.com/advisories/GHSA-x674-v45j-fwxwJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14Njc0LXY0NWotZnd4d84AA7DY
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: 9 months ago
Updated: 9 months ago
CVSS Score: 3.9
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
EPSS Percentage: 0.00043
EPSS Percentile: 0.10511
Identifiers: GHSA-x674-v45j-fwxw, CVE-2024-27086
References:
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/security/advisories/GHSA-x674-v45j-fwxw
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/413e319472ccf48c86647f19fa2aa49ff6038488
- https://www.nuget.org/packages/Microsoft.Identity.Client
- https://learn.microsoft.com/en-us/entra/msal/dotnet
- https://nvd.nist.gov/vuln/detail/CVE-2024-27086
- https://github.com/advisories/GHSA-x674-v45j-fwxw
Blast Radius: 1.0
Affected Packages
nuget:Microsoft.Identity.Client
Dependent packages: 328Dependent repositories: 0
Downloads: 1,331,155,914 total
Affected Version Ranges: >= 4.60.0, < 4.60.3, >= 4.48.0, < 4.59.1
Fixed in: 4.60.3, 4.59.1
All affected versions: 4.48.0, 4.48.1, 4.49.0, 4.49.1, 4.50.0, 4.51.0, 4.52.0, 4.53.0, 4.54.0, 4.54.1, 4.55.0, 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.60.1, 4.60.2
All unaffected versions: 2.6.1, 2.6.2, 2.7.0, 2.7.1, 3.0.8, 3.0.9, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 4.3.0, 4.3.1, 4.4.0, 4.5.0, 4.5.1, 4.6.0, 4.7.0, 4.7.1, 4.8.0, 4.8.1, 4.8.2, 4.9.0, 4.10.0, 4.11.0, 4.12.0, 4.13.0, 4.14.0, 4.15.0, 4.16.0, 4.16.1, 4.17.0, 4.17.1, 4.17.2, 4.18.0, 4.19.0, 4.20.0, 4.20.1, 4.21.0, 4.21.1, 4.22.0, 4.23.0, 4.24.0, 4.25.0, 4.26.0, 4.27.0, 4.27.1, 4.28.0, 4.28.1, 4.29.0, 4.30.0, 4.30.1, 4.31.0, 4.32.0, 4.32.1, 4.33.0, 4.34.0, 4.35.0, 4.35.1, 4.36.0, 4.36.1, 4.36.2, 4.37.0, 4.38.0, 4.39.0, 4.40.0, 4.41.0, 4.42.0, 4.42.1, 4.43.0, 4.43.1, 4.43.2, 4.44.0, 4.45.0, 4.46.0, 4.46.1, 4.46.2, 4.47.0, 4.47.1, 4.47.2, 4.59.1, 4.60.3, 4.60.4, 4.61.0, 4.61.1, 4.61.2, 4.61.3, 4.62.0, 4.63.0, 4.64.0, 4.64.1, 4.65.0, 4.66.0, 4.66.1, 4.66.2, 4.67.0, 4.67.1