Improper Output Neutralization for Logs Affecting microsoft.aspnetcore.authentication.jwtbearer package, versions [5.0.0, 5.0.9)[3.0.0, 3.1.18)[,2.1.19)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MICROSOFTASPNETCOREAUTHENTICATIONJWTBEARER-1540308
  • published11 Aug 2021
  • disclosed10 Aug 2021
  • creditUnknown

Introduced: 10 Aug 2021

CVE-2021-34532  (opens in a new tab)
CWE-117  (opens in a new tab)

How to fix?

Upgrade Microsoft.AspNetCore.Authentication.JwtBearer to version 5.0.9, 3.1.18, 2.1.19 or higher.

Overview

Microsoft.AspNetCore.Authentication.JwtBearer is an ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token.

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs. It adds JWT tokens into the logfile if those can't be parsed correctly.

CVSS Scores

version 3.1