Medium, CVSS 5.5NuGetPublished
ASP.NET Core Information Disclosure Vulnerability
CVE-2021-34532 · GHSA-q7cg-43mg-qp69
- Affected
- NuGet microsoft.aspnetcore.authentication.jwtbearer >= 3.0.0, < 3.1.18; >= 5.0.0, < 5.0.9; >= 2.1.0, < 2.1.29
- Fixed in
- 3.1.185.0.92.1.29· Vendor fix available
- Issue
- Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 5.0, .NET Core 3.1 and .NET Core 2.1. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. An information disclosure vulnerability exists in .NET 5.0, .NET Core 3.1 and .NET Core 2.1 where a JWT token is logged if it cannot be parsed. Patches If you're using .NET 5.0, you should download and install Runtime 5.0.9 or SDK 5.0.206 (for Visual Studio 2019 v16.8) or SDK 5.0.303 (for Visual Studio 2019 V16.10) from https://dotnet.microsoft.com/download/dotnet-core/5.0. If you're using .NET Core 3.1, you should download and install Runtime 3.1.18 or SDK 3.1.118 (for Visual Studio 2019 v16.4) or 3.1.412 (for Visual Studio 2019 v16.7 or later) from https://dotnet.microsoft.com/download/dotnet-core/3.1. If you're using .NET Core 2.1, you should download and install Runtime 2.1.29 or SDK 2.1.525 (for Visual Studio 2019 v15.9) or…
Recommended action: Upgrade to 5.0.9, 3.1.18 or 2.1.29 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.