CVE-2024-51987

Medium

Description

Duende.AccessTokenManagement.OpenIdConnect is a set of .NET libraries that manage OAuth and OpenId Connect access tokens. HTTP Clients created by `AddUserAccessTokenHttpClient` may use a different user's access token after a token refresh occurs. This occurs because a refreshed token will be captured in pooled `HttpClient` instances, which may be used by a different user. Instead of using `AddUserAccessTokenHttpClient` to create an `HttpClient` that automatically adds a managed token to outgoing requests, you can use the `HttpConext.GetUserAccessTokenAsync` extension method or the `IUserTokenManagementService.GetAccessTokenAsync` method. This issue is fixed in Duende.AccessTokenManagement.OpenIdConnect 3.0.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.

SeverityMedium
CVSS5.4
Exploit probability—
ProductDuende.accesstokenmanagement.openidconnect
PublishedNov 8, 2024
First seenNov 8, 2024
Weakness typeCWE-270CWE-270

How to fix

Update
  • Duende.AccessTokenManagement.OpenIdConnect3.0.1 or later

Affected products

ProductAffected versionsFixed in
Duende.AccessTokenManagement.OpenIdConnectNuGet3.0.0 ≤ v < 3.0.13.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-51987 · Duende.accesstokenmanagement.openidconnect · Dark Radar