Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-34485

MEDIUM 5.0EPSS 82%

.NET Core and Visual Studio Information Disclosure Vulnerability

Also known as BIT-dotnet-2021-34485, BIT-dotnet-sdk-2021-34485, GHSA-vgwq-hfqc-58wv

Mitigation

  • Upgrade Microsoft.NETCore.App to 2.1.29 or later.
  • Upgrade Microsoft.NETCore.App.Runtime.linux-arm to one of 3.1.18, 5.0.9 (or later in the same release line).
  • Upgrade Microsoft.NETCore.App.Runtime.linux-arm64 to one of 3.1.18, 5.0.9 (or later in the same release line).
  • Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm64 to one of 3.1.18, 5.0.9 (or later in the same release line).
  • Upgrade Microsoft.NETCore.App.Runtime.linux-musl-x64 to one of 3.1.18, 5.0.9 (or later in the same release line).
  • Upgrade Microsoft.NETCore.App.Runtime.linux-x64 to one of 3.1.18, 5.0.9 (or later in the same release line).
  • Upgrade Microsoft.NETCore.App.Runtime.osx-x64 to one of 3.1.18, 5.0.9 (or later in the same release line).
  • Upgrade Microsoft.NETCore.App.Runtime.rhel.6-x64 to 3.1.18 or later.

Who should check

  • Projects that depend on NuGet package Microsoft.NETCore.App (>= 2.1.0, < 2.1.29)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-arm (>= 3.1.0, < 3.1.18)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-arm64 (>= 3.1.0, < 3.1.18)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-musl-arm64 (>= 3.1.0, < 3.1.18)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-musl-x64 (>= 3.1.0, < 3.1.18)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-x64 (>= 3.1.0, < 3.1.18)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.osx-x64 (>= 3.1.0, < 3.1.18)
  • Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.rhel.6-x64 (>= 3.1.0, < 3.1.18)

Vulnerability facts

Affected
Microsoft.NETCore.App >= 2.1.0, < 2.1.29; Microsoft.NETCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.rhel.6-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-arm >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-arm >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-arm >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-arm64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.osx-x64 >= 5.0.0, < 5.0.9
Fixed in
2.1.29, 3.1.18, 5.0.9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
  • E: U
  • RL: O
  • RC: C
EPSS
2.07% chance of exploitation in 30 days (percentile 82, 2026-11-26)
CWE
CWE-200
Published
Modified

Description

.NET Core and Visual Studio Information Disclosure Vulnerability

Affected and fixed versions

Package / productAffectedFixedSource
NuGet Microsoft.NETCore.App>= 2.1.0, < 2.1.292.1.29osv
NuGet Microsoft.NETCore.App.Runtime.linux-arm>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.linux-arm64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.linux-x64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.osx-x64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.rhel.6-x64>= 3.1.0, < 3.1.183.1.18osv
NuGet Microsoft.NETCore.App.Runtime.win-arm>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.win-arm64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.win-x64>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.win-x86>= 3.1.0, < 3.1.183.1.18, 5.0.9osv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-arm>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-arm64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-x64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64>= 5.0.0, < 5.0.95.0.9osv
NuGet Microsoft.NETCore.App.Runtime.Mono.osx-x64>= 5.0.0, < 5.0.95.0.9osv
Microsoft .NET 5.0>= 5.0.0, < 5.0.9—cvelist
Microsoft .NET Core 2.1>= 2.1, < 2.1.30—cvelist
Microsoft .NET Core 3.1>= 3.1, < 3.1.18—cvelist
Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)>= 15.9.0, < 15.9.38—cvelist
Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9)>= 16.10.0, < 16.10.5—cvelist
Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)>= 16.0, < 16.4.25—cvelist
Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)>= 16.0.0, < 16.7.18—cvelist
Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)>= 15.0.0, < 16.9.10—cvelist
Microsoft PowerShell 7.0>= 7.0.0, < 7.0.7—cvelist
Microsoft PowerShell 7.1>= 7.1.0, < 7.1.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-34485. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-34485.md
Affected: Microsoft.NETCore.App >= 2.1.0, < 2.1.29; Microsoft.NETCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.18; Mic…
Fixed in: 2.1.29, 3.1.18, 5.0.9

Steps:
1. Search this machine and project for Microsoft.NETCore.App (NuGet), Microsoft.NETCore.App.Runtime.linux-arm (NuGet), Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet), Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet), Microsoft.NETCore.App.Runtime.linux-musl-x64 (NuGet), Microsoft.NETCore.App.Runtime.linux-x64 (NuGet): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-34485 being exploited?

There is no confirmed exploitation: CVE-2021-34485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.07% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-34485?

Medium: CVSS 5.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2021-34485?

Microsoft.NETCore.App >= 2.1.0, < 2.1.29; Microsoft.NETCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.rhel.6-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-arm >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-arm64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.18; Microsoft.NETCore.App.Runtime.linux-musl-arm >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-arm >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-arm64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.linux-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 >= 5.0.0, < 5.0.9; Microsoft.NETCore.App.Runtime.Mono.osx-x64 >= 5.0.0, < 5.0.9.

Is there a fix for CVE-2021-34485?

Yes. Fixed in 2.1.29, 3.1.18, 5.0.9. Upgrade Microsoft.NETCore.App to 2.1.29 or later. Upgrade Microsoft.NETCore.App.Runtime.linux-arm to one of 3.1.18, 5.0.9 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-arm64 to one of 3.1.18, 5.0.9 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm64 to one of 3.1.18, 5.0.9 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-musl-x64 to one of 3.1.18, 5.0.9 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-x64 to one of 3.1.18, 5.0.9 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.osx-x64 to one of 3.1.18, 5.0.9 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.rhel.6-x64 to 3.1.18 or later.

How do I check if I'm affected by CVE-2021-34485?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors