cve.bz

CVE-2023-36049 microsoft: Improper Input Validation

9.8 criticalEPSS 6.7%Fix available

Critical (9.8) in microsoft. EPSS 6.7% estimated probability of exploitation activity in the next 30 days. Fixed in System.Net.Requests 6.0.25, 7.0.14, 8.0.0.

On this page
.NET, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.7% (unchanged from 7.0% a week ago; 6.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-36049 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-36049?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-36049?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-36049 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Microsoft Visual Studio 2022 version 17.2from 17.2.0 before 17.2.22
Microsoft Visual Studio 2022 version 17.4from 17.4.0 before 17.4.14
Microsoft Visual Studio 2022 version 17.7from 17.7.0 before 17.7.7
Microsoft Visual Studio 2022 version 17.6from 17.6.0 before 17.6.10
Microsoft .NET 8.0from 8.0 before 8.0.0
Microsoft .NET 6.0from 6.0.0 before 6.0.25
Microsoft .NET 7.0from 7.0.0 before 7.0.14
Microsoft .NET Framework 3.5 AND 4.8.1from 4.8.1 before 4.8.9206.0
Microsoft .NET Framework 4.8from 4.8.0 before 4.8.4682.0
Microsoft .NET Framework 3.5 AND 4.8from 4.8.0 before 4.8.4682.0
Microsoft .NET Framework 3.5 AND 4.7.2from 4.7.0 before 4.7.4076.0
Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2from 3.0.0.0 before 10.0.14393.6452
Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2from 4.7.0 before 4.7.4076.0
Microsoft .NET Framework 4.6.2from 4.7.0 before 4.7.4076.0
Microsoft .NET Framework 3.5 AND 4.6/4.6.2from 10.0.0 before 10.0.10240.20308
Microsoft .NET Framework 2.0 Service Pack 2from 2.0.0 before 3.0.50727.8975
Microsoft .NET Framework 3.0 Service Pack 2from 3.0.0 before 3.0.50727.8975
Microsoft .NET Framework 3.5from 3.5.0 before 3.0.50727.8975
Microsoft .NET Framework 3.5.1from 3.5.0 before 3.0.50727.8975

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c3hf-8vgx-72rhNuGetSystem.Net.Requests>=8.0.0-rc.2.23480.2 <8.0.08.0.0
GHSA-c3hf-8vgx-72rhNuGetSystem.Net.Requests>=6.0.0 <6.0.256.0.25
GHSA-c3hf-8vgx-72rhNuGetSystem.Net.Requests>=7.0.0 <7.0.147.0.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSdotnet66.0.125-0ubuntu1~22.04.1UBUNTU-CVE-2023-36049 USN-6480-1
Ubuntu22.04:LTSdotnet77.0.114-0ubuntu1~22.04.1UBUNTU-CVE-2023-36049 USN-6480-1
Red Hatenterprise_linux:8::appstreamdotnet, dotnet8.0, dotnet-sdk-8.0 and 5 more0:8.0.100-2.el8_9RHSA-2023:7254
Red Hatenterprise_linux:8::appstreamdotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 8 more0:8.0.0-2.el8_9RHSA-2023:7254
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 6 more0:6.0.25-1.el8_9RHSA-2023:7258
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 6 more0:7.0.14-1.el8_9RHSA-2023:7256
Red Hatenterprise_linux:8::appstreamdotnet6.0, dotnet-sdk-6.0, dotnet6.0-debuginfo and 3 more0:6.0.125-1.el8_9RHSA-2023:7258
Red Hatenterprise_linux:8::appstreamdotnet7.0, dotnet-sdk-7.0, dotnet7.0-debuginfo and 3 more0:7.0.114-1.el8_9RHSA-2023:7256
Red Hatenterprise_linux:8::crbdotnet-host-debuginfo, dotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo and 1 more0:8.0.0-2.el8_9RHSA-2023:7254
Red Hatenterprise_linux:8::crbdotnet-hostfxr-6.0-debuginfo, dotnet-runtime-6.0-debuginfo, dotnet-apphost-pack-6.0-debuginfo0:6.0.25-1.el8_9RHSA-2023:7258
Red Hatenterprise_linux:8::crbdotnet-hostfxr-7.0-debuginfo, dotnet-runtime-7.0-debuginfo, dotnet-apphost-pack-7.0-debuginfo0:7.0.14-1.el8_9RHSA-2023:7256
Red Hatenterprise_linux:8::crbdotnet6.0-debuginfo, dotnet6.0-debugsource, dotnet-sdk-6.0-debuginfo and 1 more0:6.0.125-1.el8_9RHSA-2023:7258
Red Hatenterprise_linux:8::crbdotnet7.0-debuginfo, dotnet7.0-debugsource, dotnet-sdk-7.0-debuginfo and 1 more0:7.0.114-1.el8_9RHSA-2023:7256
Red Hatenterprise_linux:8::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.100-2.el8_9RHSA-2023:7254
14 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8dotnet, dotnet-sdk-8.0, dotnet-templates-8.0 and 2 more8.0.100-2.el8_9ALSA-2023:7254
AlmaLinux8dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 4 more8.0.0-2.el8_9ALSA-2023:7254
AlmaLinux8dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 3 more6.0.25-1.el8_9ALSA-2023:7258
AlmaLinux8dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 3 more7.0.14-1.el8_9ALSA-2023:7256
AlmaLinux8dotnet-sdk-6.0, dotnet-templates-6.0, dotnet-sdk-6.0-source-built-artifacts6.0.125-1.el8_9ALSA-2023:7258
AlmaLinux8dotnet-sdk-7.0, dotnet-templates-7.0, dotnet-sdk-7.0-source-built-artifacts7.0.114-1.el8_9ALSA-2023:7256
AlmaLinux9dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 4 more8.0.0-2.el9_3ALSA-2023:7253
AlmaLinux9dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 3 more6.0.25-1.el9_3ALSA-2023:7257
AlmaLinux9dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 3 more7.0.14-1.el9_3ALSA-2023:7255
AlmaLinux9dotnet-sdk-6.0, dotnet-templates-6.0, dotnet-sdk-6.0-source-built-artifacts6.0.125-1.el9_3ALSA-2023:7257
AlmaLinux9dotnet-sdk-7.0, dotnet-templates-7.0, dotnet-sdk-7.0-source-built-artifacts7.0.114-1.el9_3ALSA-2023:7255
AlmaLinux9dotnet-sdk-8.0, dotnet-templates-8.0, netstandard-targeting-pack-2.1 and 1 more8.0.100-2.el9_3ALSA-2023:7253
Rocky Linux8dotnet6.00:6.0.125-1.el8_9RLSA-2023:7258
Rocky Linux8dotnet7.00:7.0.114-1.el8_9RLSA-2023:7256
Alpinev3.18, v3.19dotnet7-build7.0.114-r0ALPINE-CVE-2023-36049
Alpinev3.18, v3.19dotnet7-runtime7.0.14-r0ALPINE-CVE-2023-36049
Alpinev3.18, v3.19, v3.20dotnet6-build6.0.125-r0ALPINE-CVE-2023-36049
Alpinev3.18, v3.19, v3.20dotnet6-runtime6.0.25-r0ALPINE-CVE-2023-36049

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability identified in FormatFtpCommand within the .NET package presents a moderate severity concern rather than an important one due to several mitigating factors. Firstly, while it allows for CRLF (Carriage Return Line Feed) injection, enabling potential arbitrary file write and deletion, its impact is limited by the context in which it can be exploited. The injection occurs within the FTP command formatting process, requiring an attacker to have authenticated access to the FTP server, thereby narrowing the pool of potential exploiters. Furthermore, successful exploitation relies on the specific implementation of the FTP server, as not all configurations may be susceptible to the arbitrary file manipulation.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet60-dotnet-0:6.0.125-1.el7_9Fixed 2023-11-15RHSA-2023:7259
Red Hat Enterprise Linux 8dotnet8.0-0:8.0.100-2.el8_9Fixed 2023-11-15RHSA-2023:7254
Red Hat Enterprise Linux 8dotnet7.0-0:7.0.114-1.el8_9Fixed 2023-11-15RHSA-2023:7256
Red Hat Enterprise Linux 8dotnet6.0-0:6.0.125-1.el8_9Fixed 2023-11-15RHSA-2023:7258
Red Hat Enterprise Linux 9dotnet8.0-0:8.0.100-2.el9_3Fixed 2023-11-15RHSA-2023:7253
Red Hat Enterprise Linux 9dotnet7.0-0:7.0.114-1.el9_3Fixed 2023-11-15RHSA-2023:7255
Red Hat Enterprise Linux 9dotnet6.0-0:6.0.125-1.el9_3Fixed 2023-11-15RHSA-2023:7257

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-36049.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-165-04Siemens ST7 ScadaConnect2024-06-11MultipleST7 ScadaConnect (6NH7997-5DA10-0AA0)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON