Microsoft.NETCore.App.Runtime.android-arm: Out-of-bounds Write (ghsa:GHSA-p3jp-9v83-76w9)
Published Sources: Hersteller
What is affected, what to do
Update Microsoft.NETCore.App.Runtime.android-arm to version 11.0.0-rc.3.26522.148, Microsoft.NETCore.App.Runtime.android-arm64 to version 11.0.0-rc.3.26522.148, Microsoft.NETCore.App.Runtime.android-x64 to version 11.0.0-rc.3.26522.148.
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
—
Priority
No value is available for this vulnerability.
—
CVSS v3
No value is available for this vulnerability.
—
EPSS score
No value is available for this vulnerability.
Show all metrics
- Severity
- High
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 30.00 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-787
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
Executive summary
A buffer overflow vulnerability exists in the Brotli decompression library used by .NET. This vulnerability may allow an unauthenticated attacker to read or corrupt process memory. This could lead to information disclosure, denial of service, or elevation of privilege.
ASP.NET Core and HttpClient do not automatically decompress Brotli data in their default configurations. Applications are exposed when they enable Brotli decompression or explicitly use Brotli decompression APIs to process attacker-controlled data, as described below. .NET Framework is not affected.
Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/494
CVSS Details
- Version: 3.1
- Severity: High
- Score: 8.1
- Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C - Weakness: CWE-787 (Out-of-bounds Write)
Affected Platforms
- Platforms: All
- Architectures: All
Mitigations
ASP.NET Core request decompression and HttpClient automatic response decompression are not enabled by default. An application is not exposed merely because an affected .NET package is installed. Exposure requires the application to decompress attacker-controlled Brotli data through one of these paths:
- Enable ASP.NET Core automatic request decompression with Brotli (
br) support. - Enable HttpClient automatic response decompression by configuring HttpClientHandler.AutomaticDecompression or SocketsHttpHandler.AutomaticDecompression to include DecompressionMethods.Brotli or
DecompressionMethods.All. - Explicitly use Brotli decompression APIs in
System.IO.Compression, such asBrotliStreamorBrotliDecoder.
Until the update can be deployed, avoid decompressing attacker-controlled Brotli data.
The following examples show how to disable Brotli decompression if you are already using it.
Warning: Do not use these code snippets if you are not already using decompression. Do not introduce a call to
AddRequestDecompressionif your application does not already call it. Similarly, do not introduce anAutomaticDecompressionproperty assignment if your application does not already set that property. Modify only your existing decompression configuration. Enabling automatic decompression can introduce denial-of-service risks even when Brotli is excluded.
If you are already using Brotli request decompression in ASP.NET Core, exclude it by removing the br entry from your existing decompression configuration. This retains the default gzip and deflate providers:
builder.Services.AddRequestDecompression(options =>
{
options.DecompressionProviders.Remove("br");
});
If your application already enables HttpClient automatic response decompression, disable Brotli by updating the flags on your existing handler so they do not include DecompressionMethods.Brotli:
var handler = new HttpClientHandler
{
AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
};
var httpClient = new HttpClient(handler);
Applications that directly use Brotli decompression APIs must stop passing untrusted Brotli data to those APIs until updated. Ensure that other application code does not continue to decompress the same untrusted Brotli data. These changes can affect normal request and response handling and should be tested before deployment. Installing the security update remains the recommended fix.
Affected Packages
The vulnerability affects .NET applications using an affected Brotli decoder in the runtime or NativeAOT packages listed below.
.NET 8
Source: GitHub Security Advisories
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| nuget | Microsoft.NETCore.App.Runtime.android-arm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.android-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.android-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.browser-wasm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.ios-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.iossimulator-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.iossimulator-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-arm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-bionic-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-bionic-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-musl-arm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-musl-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-musl-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.linux-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.maccatalyst-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.maccatalyst-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.android-arm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.android-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.android-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.android-x86 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.browser-wasm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.ios-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.tvos-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.Mono.wasi-wasm |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.maccatalyst-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.maccatalyst-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.osx-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.osx-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.tvos-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.tvossimulator-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.tvossimulator-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.win-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.win-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.NativeAOT.win-x86 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.osx-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.osx-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.tvos-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.tvossimulator-arm64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.tvossimulator-x64 |
|
|
| nuget | Microsoft.NETCore.App.Runtime.win-arm64 |
|
|
Weakness classes (CWE)
CWE-787Out-of-bounds Write
Base
The product writes data past the end, or before the beginning, of the intended buffer.
Entry at MITRE CWE-787