Описание
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.
Отчет
A code injection vulnerability was found in the Blazor WebAssembly debug proxy of ASP.NET Core, which is shipped in the dotnet10.0 packages in Red Hat Enterprise Linux 8, 9, and 10, Red Hat In-Vehicle OS, and Fedora. The debug proxy embeds attacker-controlled values, such as ToString() results, descriptions, and class names, into generated C# code without consistently escaping them. When a developer evaluates an expression while debugging a Blazor WebAssembly application, a malicious value can escape the generated string literal and execute arbitrary code on the developer's machine. Red Hat rated this flaw as IMPORTANT (CVSS 3.1 score of 8.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), matching the upstream Microsoft severity; exploitation requires no privileges but relies on a developer interacting with attacker-controlled values during a debugging session. The .NET 8 based dotnet8.0 builds in Red Hat Hardened Images were determined to be not affected because the vulnerable component is not present there. This flaw is tracked as DELEGATED, and a fix for the affected Red Hat products is being pursued.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Hardened Images | dotnet10.0 | Not affected | ||
| Red Hat Hardened Images | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet10.0 | Fixed | RHSA-2026:86195 | 20.10.2026 |
| Red Hat Enterprise Linux 8 | dotnet10.0 | Fixed | RHSA-2026:86192 | 20.10.2026 |
| Red Hat Enterprise Linux 9 | dotnet10.0 | Fixed | RHSA-2026:86193 | 20.10.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
8.8 High
CVSS3
Связанные уязвимости
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.
Microsoft Security Advisory CVE-2026-102870 - ASP.NET Core Remote Code Execution Vulnerability
EPSS
8.8 High
CVSS3