🛡️ CVE-2023-24936 — .net
Description
.NET Elevation of Privilege Vulnerability
# Microsoft Security Advisory CVE-2023-24936: .NET Elevation of Privilege Vulnerability
<a name="executive-summary"></a>Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 7.0 and .NET 6.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
A vulnerability exists in .NET when deserializing a DataSet or DataTable from XML which may result in elevation of privileges.
Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/259
<a name="mitigation-factors"></a>Mitigation factors
The default configuration of DataSet and DataTable is not susceptible to this vulnerability. This vulnerability only exists if the app developer or machine admin extends the DataSet and DataTable default allow-list [as specified here](https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/dataset-datatable-dataview/security-guidance) to contain specific types which trigger the vulnerability.
<a name="affected-software"></a>Affected software
- Any .NET 7.0 application running on .NET 7.0.5 or earlier.
- Any .NET 6.0 application running on .NET 6.0.16 or earlier.
If your application uses the following package versions, ensure you update to the latest version of .NET.
<a name=".NET 7"></a>.NET 7
Package name | Affected version | Patched version
------------ | ---------------- | -------------------------
[Microsoft.NetCore.App.Runtime.linux-arm](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-arm) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.linux-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-arm64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.linux-musl-arm](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-musl-arm) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.linux-musl-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-musl-arm64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.linux-musl-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-musl-x64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.linux-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-x64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.osx-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.osx-arm64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.osx-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.osx-x64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.win-arm](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.win-arm) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.win-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.win-arm64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.win-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.win-x64) | >= 7.0.0, < 7.0.5 | 7.0.7
[Microsoft.NetCore.App.Runtime.win-x86](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.win-x86) | >= 7.0.0, < 7.0.5 | 7.0.7
<a name=".NET 6"></a>.NET 6
Package name | Affected version | Patched version
------------ | ---------------- | -------------------------
[Microsoft.NetCore.App.Runtime.linux-arm](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-arm) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.linux-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-arm64) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.linux-musl-arm](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-musl-arm) | >= 6.0.1, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.linux-musl-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-musl-arm64) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.linux-musl-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-musl-x64) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.linux-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.linux-x64) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.osx-arm64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.osx-arm64) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.osx-x64](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.osx-x64) | >= 6.0.0, < 6.0.16 | 6.0.18
[Microsoft.NetCore.App.Runtime.win-arm](https://www.nuget.org/packages/Microsoft.NetCore.App.Runtime.win-arm) | >= 6.0.0, < 6.0.16 | 6.0.18
[Micr
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
CVE-2023-24936 is recorded against 16 packages.
- .net
- .net-framework
- dotnet
- dotnet-sdk
- microsoft.netcore.app.runtime.linux-arm (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.linux-arm64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.linux-musl-arm (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.linux-musl-arm64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.linux-musl-x64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.linux-x64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.osx-arm64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.osx-x64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.win-arm (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.win-arm64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.win-x64 (from 6.0.0 up to 6.0.18)
- microsoft.netcore.app.runtime.win-x86 (from 6.0.0 up to 6.0.18)
Timeline and source
Published on 14 June 2023 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.
References
CVE-2023-24936 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| .net | — | — |
| .net-framework | — | — |
| dotnet | — | — |
| dotnet-sdk | — | — |
| microsoft.netcore.app.runtime.linux-arm | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.linux-arm64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.linux-musl-arm | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.linux-musl-arm64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.linux-musl-x64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.linux-x64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.osx-arm64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.osx-x64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.win-arm | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.win-arm64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.win-x64 | 6.0.0 | 6.0.18 |
| microsoft.netcore.app.runtime.win-x86 | 6.0.0 | 6.0.18 |
References
Similar Threats
- High CVE-2023-33127
- High CVE-2023-24895
- High CVE-2023-24897
- High CVE-2023-29331
- Medium CVE-2023-32032
More CVE 2023 advisories
Browse all of CVE 2023 in the advisory index.
Site Security Check
Is .net part of your stack?
CVE-2023-24936 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.